A simple high log game project by molly arora. This is the game where you guess a number between 1 to 100. The program then asks you some simple queries about your guess and calculates the number you have guessed.
Now you have “<<totchan-chances<<“chances left.”<<endl;
Only “<<totchan<<“chances are allowed.Better luck next
The actual number was “<<number<<endl;
Thank you for playing High/Low!”;
cout<<“Want to play it again? (y/n)…”;
}while(ans==’y’ || ans==’Y’);