Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- using namespace std; // schlechter stil
- int main()
- {
- int iNahrung = 50;
- switch(iNahrung)
- {
- case 100:
- cout << "Du hast maximale Gesundheit" << endl;
- break;
- case 50:
- cout << "Du hast halbe Gesundheit" << endl;
- break;
- case 0:
- cout << "Du hast 0 Gesundheit" << endl;
- break;
- }
- _getch();
- return NULL;
- }
Add Comment
Please, Sign In to add comment