Question 4: You have been given below SAS program
data course100 ;
Fee=5000;
FEE_HIKE=0.1;
do month=1 to 12 ;
INCREASE+(FEE+INCREASE)*FEE_HIKE;
iteration+1;
output;
end;
put _all_;
run;
At the end of do loop, where statement put _all_ is written what would be the value hold by variable moth?
- 11
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering SAS Certification Material
Correct Answer : 3 Exp : As you can see in the given program its a do loop. Hence, until loop finishes it will hold last value upto 12.
You can access to full explanation to question and answer from this page.