using namespace std;
struct Pfand {
int Glasflasche;
int Plastikflasche;
};
Pfand eingabe() {
Pfand wert;
cin >> wert.Glasflasche;
cin >> wert.Plastikflasche;
return wert;
}
int berechnung(Pfand wert)
{
int ret = wert.Glasflasche * wert.Plastikflasche;
cout << ret;
return ret;
}
int main()
{
Pfand pfand = eingabe();
int ret = berechnung(pfand);
cout << "Hello World!" << endl;
return 0;
}
Comments