6 von 8 Test passen
This commit is contained in:
parent
479b2ee1f6
commit
13d0872317
@ -36,8 +36,8 @@ Atomkern operator*(int i, const Atomkern &atom1) {
|
||||
atom1.ordnungszahl() * i);
|
||||
}
|
||||
std::ostream &operator<<(std::ostream &os, const Atomkern &atom) {
|
||||
os << "Elementsymbol: " << atom.symbol()
|
||||
<< ", Massenzahl: " << atom.massenzahl()
|
||||
<< ", Ordnungszahl: " << atom.ordnungszahl();
|
||||
os << atom.symbol()
|
||||
<< "(" << atom.massenzahl()
|
||||
<< "," << atom.ordnungszahl() << ")";
|
||||
return os;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user