MATLAB if-elseif-else...end statementIf we have more than one option or condition to check, then use elseif keyword. Syntax:Flowchart of if...elseif... else...end StatementsExample1:Output: n = 9 you are younger Next TopicMATLAB nested if-else
|