6 von 8 Test passen

This commit is contained in:
Tobias Kachel 2026-06-12 05:10:43 +02:00
parent 479b2ee1f6
commit 13d0872317
3 changed files with 3 additions and 3 deletions

View File

@ -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;
} }