A pseudocode program is started below that asks the user for input and stores the value in a variable. Continue writing pseudocode to accomplish this task:

If the hour is within the school day (8 to 15) then display "Nice to see you!", Otherwise, display "It’s time to go home!

DISPLAY ("Enter the hour of day (0-23)")

hour <- INPUT ()

A) This is an Essay question... make sure you know how to write and IF/ELSE Statement for this question.

B) This is an Essay question... make sure you know how to write and IF/ELSE Statement for this question.

Respuesta :

Answer:

Explanation:

BEGIN

Define hour type integer

DISPLAY ("Enter the hour of day (0-23)")

hour <- INPUT()

IF hour >= 8 AND hour <= 15 THEN

 DISPLAY("Nice to see you!")

ELSE

 DISPLAY("It's time to go home!")

END IF

END