Following is the correct syntax of for statement in Ada-06457
Following is the correct syntax of for statement in Ada.
This multiple choice question (MCQ) is related to the book/course vu cs508 Modern Programming Languages. It can also be found in vu cs508 Final Term - Quiz No.1.
Following is the correct syntax of for statement in Ada.
for variable in low_value .. high_value loop -- Loop body goes here end loop;
for variable in low_value .. high_value loop -- Loop body goes here end;
begin; for variable in low_value .. high_value loop -- Loop body goes here end loop;
begin loop; for variable in low_value .. high_value loop -- Loop body goes here end loop;