Upload files to "/"
This commit is contained in:
commit
27dde274b4
43
ruleta.cpp
Normal file
43
ruleta.cpp
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
void statki(){
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
int menu;
|
||||||
|
cout<<"Witaj"<<endl;
|
||||||
|
|
||||||
|
cout<<"Wybierz gre: "<<endl;
|
||||||
|
cout<<"1. statki"<<endl;
|
||||||
|
cout<<"2. automaty"<<endl;
|
||||||
|
cout<<"3. ruletka"<<endl;
|
||||||
|
cin>>menu;
|
||||||
|
|
||||||
|
switch (menu) {
|
||||||
|
case 1:
|
||||||
|
cout<<"Wybrales gre: statki"<<endl;
|
||||||
|
statki();
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
cout<<"Wybrales gre: automaty"<<endl;
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
cout<<"Wybrales gre: ruletka"<<endl;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
cout<<"Nie ma takiej opcji."<<endl;
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
system("pause");
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user