Regarding the If statement, which of the following options is false?

Regarding the If statement, which of the following options is false?
A . Both True and False branches are mandatory.
B. If statements can also be used to implement ad-hoc loops.
C. Only one of the branches is executed, depending on the If condition’s outcome.
D. More branches may be added if needed.

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments