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);
|
atom1.ordnungszahl() * i);
|
||||||
}
|
}
|
||||||
std::ostream &operator<<(std::ostream &os, const Atomkern &atom) {
|
std::ostream &operator<<(std::ostream &os, const Atomkern &atom) {
|
||||||
os << "Elementsymbol: " << atom.symbol()
|
os << atom.symbol()
|
||||||
<< ", Massenzahl: " << atom.massenzahl()
|
<< "(" << atom.massenzahl()
|
||||||
<< ", Ordnungszahl: " << atom.ordnungszahl();
|
<< "," << atom.ordnungszahl() << ")";
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user