Guest User

Untitled

a guest
Jan 20th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. double eingabealle;
  2.     int auswahl;
  3.  
  4.     cout << "Eingabe: ";
  5.     cin>>eingabealle;
  6.     cout << "Auswahl der Umwandlung: \n"<< "1 - Celsius in Fahrenheit \n"<< "2 - Meter in Fuss \n" << "3 - Euro in US Dollar"<<endl;
  7.     cin >> auswahl;
  8.     cout << "Das Ergebnis lautet: "<< (1/auswahl)*(eingabealle*1.8+32)+(auswahl/2)*(eingabealle*3.2808)+(auswahl/3)*(eingabealle*1.2957- ((auswahl/2)*(eingabealle*3.2808)))<<endl;
Add Comment
Please, Sign In to add comment