#include #include // For srand() and rand() #include // For time() using namespace std; int main(void) { int g; int r; srand(time(0)); r = (rand() % 100) + 1; cout << "Enter a Random a number from 1-100:"; cin >> g; if (g == r) { cout << "Congradulations !!!! You just won yourselve a Guess game"; } else { cout << "Nope sorry The correct number was " << r << endl; } return 0; }