Gumawa ng program na:
➡ May secret number (hal. 7).
➡ Tatanungin ang user na hulaan ang number (may 5 guesses).
➡ Patuloy na magtatanong hanggang mahulaan ito.
➡ Kung mali: i-print "Wrong! That is not the number."
➡ Kung tama: i-print "Correct! You guessed it!" at ihinto ang loop.
INPUT:
8
1
2
3
4
5
EXPECTED OUTPUT:
Wrong! That is not the number.
Wrong! That is not the number.
Wrong! That is not the number.
Wrong! That is not the number.
Wrong! That is not the number.
INPUT:
5
1
2
3
4
5
EXPECTED OUTPUT:
Wrong! That is not the number.
Wrong! That is not the number.
Wrong! That is not the number.
Wrong! That is not the number.
Correct! You guessed it!
INPUT:
18
1
1
18
EXPECTED OUTPUT:
Wrong! That is not the number.
Wrong! That is not the number.
Correct! You guessed it!