Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using namespace std;
- #include <iostream>
- int main ()
- {
- float aepfel;
- float preis;
- cout<<"Bitte geben Sie die Anzahl der Aepfel an: ";
- cin>>aepfel;
- cout<<"Bitte geben sie den Preis von einem Apfel ein: ";
- cin>>preis;
- float Gesamtpreis=aepfel*preis;
- cout<<"Der Betrag ist: "<<Gesamtpreis;
- cout<<" Euro";
- int ("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement