#include #include using namespace std; int main(int argc, char *argv[]) { int num2; int num1; srand(time(0)); num1=rand()%100; num2=-1; while(num2!=num1) { cout<<"please enter your num\n"; cin>>num2; if(num1==num2) cout<<"YOU WIN\n"; else if(num2num1) cout<<"add kochektar vared konid\n"; } system("PAUSE"); return EXIT_SUCCESS; }