The end statement is given multiple times in _________

Man Ly

New member
The end statement is given multiple times in _________
A. Multiple elseif
B. Nested if
C. elseif
D. if
 
Answer: b
Explanation: We need to end each if structure within a nested if structure every time we give one. The end command should be placed after the end of each if structure or MATLAB will give an error.
 

Tìm kiếm

Back
Top