Question: Change the following program in such a way that it will ask the user if he/she wants to play another game (answer y or N)

Change the following program in such a way that it will ask the user if he/she wants to play another game (answer y or N) and act accordingly. % Guessing game ste, clear dispt'Guess an integer between 1 and 5.') disp.:'You have 5 tries.'); naetaguess = round(1 + (5 - 1) * rand); % Start counting n = 1; % First guess while n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
