Yes.
The true branch and the false branch
might contain many statments each.
Inside each branch statments execute in sequential order.
For example, in the following (somewhat silly) program,
each branch consists of several statements.
The
IF-THEN-ELSE-END IF
control structure picks which
branch will be executed;
once a branch is picked,
its statements will execute in sequence.
PRINT "Enter the hour of the day 0-23" INPUT HOUR IF HOUR < 12 THEN PRINT "Good Morning!" PRINT "Time for a coffee break." PRINT "Don't forget the donut." ELSE PRINT "Good Day" PRINT "Time for a nap." END IF END
What is the program's output when the user enters 7?