SAS Certified Base Programmer 50 Questions (47)
The following SAS program is submitted:
data work.travel; do i=1 to 6 by 2; trip + i; end; run;
Which one of the following is the value of the variable trip in the output data set?
a. 2
b. 3
c. 9
d. 10
Topics:
SAS Base Questions |
3 Comments »
C
Could somebody kindly explain me the process of getting c?
Construct a table:
i trip
1 1
3 4
5 9
7 Outside of Loop so stops processing.