SAS Certified Base Programmer 123 Questions (84)
The following SAS program is submitted:
data work.sales; do year = 1 to 5; do month = 1 to 12; x + 1; end; end; run;
Which one of the following represents how many observations are written to the WORK.SALES data set?
A. 0
B. 1
C. 5
D. 60
Topics:
SAS Base Questions |
3 Comments »
B
How is B?
Is it not D(60)?
B because no output statement…so only the last value of month and year is saved..