Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- using namespace std;
- int main()
- {
- while (1)
- {
- cout << "Wybierz nr zadania 1-10 lub zakoncz x/X." << endl;
- switch (_getch())
- {
- case '1':
- {
- }break;
- case '2':
- {
- }break;
- case '3':
- {
- }break;
- case '4':
- {
- }break;
- case '5':
- {
- }break;
- case '6':
- {
- }break;
- case '7':
- {
- }break;
- case '8':
- {
- }break;
- case '9':
- {
- }break;
- case '10':
- {
- }break;
- case 'x':case'X': return 0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement