Upload files to "/"

This commit is contained in:
12345678 2025-02-14 11:26:09 +00:00
commit 27dde274b4

43
ruleta.cpp Normal file
View 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;
}