RosettaCodeData/Task/Conditional-structures/PL-I/conditional-structures-2.pli
2023-07-01 13:44:08 -04: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;