7. LET A = 10 LET B = 20 IF AB THEN PRINT "A IS BIG" ELSE PRINT "BIS BIG" The result of the above program is
O a) A & B is Big
O b) A IS BIG
O B IS BIG
O d) None
Answers
Answered by
0
Required Answer:-
Correct Códe:
LET A = 10
LET B = 20
IF A > B THEN
PRINT "A IS BIG"
ELSE
PRINT "B IS BIG"
END IF
Output:
- B IS BIG. (Option C is the right answer.)
Explanation:
- In the above códe, the values of A and B are 10 and 20 respectively.
- Here, A>B is false as 10 is less than 20 and not greater than it. So, statements written inside else block will be executed.
- So, the output goes like - B IS BIG.
•••♪
Similar questions