This is a time passing game, predict the right number in shortest possible number of tries.
After giving the input of the range program will select a number in between the selected range. Every time player predicts a wrong number program will give output whether it is less than the number program selected or more. The time player predicts the right number the program will give output by congratulating the player and showing the player the number of tries. At the end of the 5 rounds program will give the score.
Will ask the player to input the range
Will ask the player to guess the number
Every time player predicts a wrong number game will give output whether it is less than or more than the number game fixed
This output will be repeating for next 5 rounds and at the end score will be given