write my assignment 3029

i have everything working, i just don’t know how to put the “You Lost!” statement and how to to give it only two tries

5 . Two – Try Guessing Game . vi Using the state machine architecture , write aguessing game VI in which a user is given only two chances to guess a ranlomly generated integer in the range from I to 10 Here are the rules of ingame : When the program commences . the random integer is generated , andhe user makes an initial guess . If the guess is correct , success is reported itthe guess is incorrect , the user is given a hint and asked to guess again Afterbeing given this one hint , if the user’s guess is correct , success is reported .otherwise , the user is told that they lost the game

 
"Not answered?"
Get the Answer