Algorithmen_Datenstrukturen/Uebung 1/Ware.cpp

9 lines
314 B
C++

#include "Ware.h"
std::ostream &operator<<(std::ostream &out, const Ware &ware) {
out << "Name: " << ware.getBezeichnung() << ", SN: " << ware.getSeriennummer()
<< ", Gewicht: " << ware.getGewicht()
<< ", EK: " << ware.getEinkaufspreis()
<< ", VK: " << ware.getVerkaufspreis();
return out;
}