Is the following code template for the if-then-else statement correct? if not,…
PYQ GATE 1989
Is the following code template for the if-then-else statement correct? if not, correct it.
if expression then statement 1
else statement 2
Template:
Code for expression
(* result in E, E > O indicates true *)
Branch on E > O to L1
Code for statement 1
L1: Code for statement 2
Sign up free to check your answer
Sign up freeLoading lesson…

