RosettaCodeData/Task/Conditional-structures/PL-I/conditional-structures-2.pli
2015-02-20 00:35:01 -05:00

21 lines
369 B
Text

if condition_exp1 then
statement_1;
else if condition_exp2 then
statement_2;
else if condition_expN then
statement_N;
else
statement_E;
if condition_exp1 then do;
list_of_statements;
end;
else if condition_exp2 then do;
list_of_statements;
end;
else if condition_expN then do;
list_of_statements;
end;
else do;
list_of_statements;
end;