#include
#include
using namespace std;
int main()
{
int magic;
int guess;
magic = rand(); // get a random number
cout << "Enter your guess: ";
cin >> guess;
if(guess == magic)
cout << "Right";
return 0;
}
Enter your guess: 2