SAS Certified Base Programmer 123 Questions (46)
The following SAS program is submitted:
data stats; set revenue; array weekly{5} mon tue wed thus fri; <insert DO statement here> total = weekly{i} * .25;
Which one of the following DO statements completes the program and processes the elements of the WEEKLY array?
A. do i = 1 to 5;
B. do weekly {i} = 1 to 5;
C. do i = mon tue wed thu fri;
D. A DO loop cannot be used because the variables referenced do not end in a digit.
Topics:
SAS Base Questions |
1 Comment »
A