Which statement(s) completed the program and produced a non-missing value for the variable TOTQUANTITY in the final observation of the output data set?
1941 1
The following SAS program is submitted:
data coins;
infile ‘yearamt’;
input year quantity;
<insert statement(s) here>
run;
Which statement(s) completed the program and produced a non-missing value for the variable TOTQUANTITY in the final observation of the output data set?
A . totquantity + quantity;
B . totquantity = sum(totquantity + quantity);
C . retain totquantity; totquantity = totquantity + quantity;
D . retain totquantity0; totquantity = totquantity + quantity;
Answer: A
Latest A00-231 Practice Questions with 262 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments