Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- // Hauptprogramm
- //
- int main ()
- {
- char chAuswahl;
- cout << "Starten (s), beenden (b)";
- cin >> chAuswahl;
- switch (chAuswahl)
- {
- case ('s'):
- {
- cout << "test test" << endl;
- } break;
- case ('b'):
- {
- cout << "test test" << endl;
- } break;
- default:
- {
- cout << "Falsche Eingabe" << endl;
- }
- }
- cout << "laber" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment