Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int schluss;
- long double zahl1, zahl2;
- cout<<"Dies ist ein Taschenrechner:)!"<< endl
- <<"Er kann 2 Zahlen addieren"<< endl
- <<"Geben sie die 1. Zahl ein: "<< endl;
- cin>>zahl1;
- cout<<"Geben sie die 2. Zahl ein: "<< endl;
- cin>>zahl2;
- cout<< zahl1 << "+" << zahl2 << "=" << zahl1+zahl2;
- cout<<"Beliebige Taste zum beenden drücken";
- cin>> schluss;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement