Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double eingabealle;
- int auswahl;
- cout << "Eingabe: ";
- cin>>eingabealle;
- cout << "Auswahl der Umwandlung: \n"<< "1 - Celsius in Fahrenheit \n"<< "2 - Meter in Fuss \n" << "3 - Euro in US Dollar"<<endl;
- cin >> auswahl;
- 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