84. How many variables/observations will come from the below program?
data work.roth_ira;
start = 1000;
do year = 1 to 30;
savings + 5000;
do month = 1 to 12;
int = savings * (.05/12);
savings + int;
end;
output;
end;
run;
a) 4 variables, 12 observations
b) 4 variables, 30 observations
c) 5 variables, 12 observations
d) 5 variables, 30 observations
Answer: D
请问5个variables是哪5个?我认为有4个, year month savings int
请会的朋友解释一下。谢谢!