#include #include #include const int R_MAX = 10; void main () { int random_number; int user_input; cout << "Eneter a number between 1 and 10 \n"; cin >> user_input; srand((unsigned int)time((time_t *)NULL)); random_number = (rand()%R_MAX)+1; if (user_input == random_number) { cout << "You Lucky Thing\n"; } else { cout << "You loose\n"; } }