Which of the following is most complex?

Bờm

Member
Which of the following is most complex?
A. IF THEN ELSE
B. Nested IF THEN ELSE
C. ELSIF
D. CASE
 
Answer: b
Explanation: The nested IF ELSE statement is most complex statement. Since it needs to define If again and again inside another ELSE statement. This is the equivalent of ELSIF clause but is more complex. Using ELSIF is easier than using nested IF ELSE.
 

Tìm kiếm

Back
Top