Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <iostream>
- using namespace std;
- int main()
- {
- constexpr int start = {1};
- constexpr int stop = {0};
- int wybor;
- cout << "Podejmij decyzje. Wybierz 0 lub 1" << endl;
- cin >> wybor;
- switch (wybor)
- {
- case start:
- {
- cout << "Rozpoczynamy" << endl;
- }
- break;
- case stop:
- {
- cout << "Konczymy" << endl;
- }
- break;
- }
- cin.get();
- cin.get();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement