The following SAS program is submitted:
data stats; set revenue;
array weekly{5} mon tue wed thu fri;
total = weekly{i} * .25; output; end; run;
Which one of the following DO statements completes the program and processes the elements of the WEEKLY array?
Select an option, then click Submit answer.
-
○
do i = 1 to 5;
-
○
do weekly{i} = 1 to 5;
-
○
do i = mon tue wed thu fri;
-
○
A DO loop cannot be used because the variables referenced do not end in a digit.