The question is "The program asks for an input of a score(0-100). If the score is greater than or equal to 60, display “Congratulations! You passed!” Otherwise, display “Sorry, you failed.” "
prompt='score greater than 60 and less than 60'x=input(prompt)if x>=60 if x<60 end if x<60 disp('Sorry, you failed.') endendif x>=60 disp('Congratulations! You passed!')end
when i run the program i get the "Congratulations! You passed!" for anything above 60 but when i run the program for # less 60 nothing happens. i just get the inputted number back without the disp.
Best Answer