Question 3: You have been given below program
data course100 ;
Fee=5000;
FEE_HIKE=0.1;
XXXXX
put _all_;
INCREASE+(FEE+INCREASE)*FEE_HIKE;
iteration+1;
output;
end;
run;
Replace XXXXX values with the DO statement, so that code under which will be executed 20 times?
- do month=20 to 1 by -1;
- 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 : 1 Exp : As we need to focus on iteration using do loop. Given question is asking it should be done 20 times. There are two ways by
which you can thing of 20 times iteration either increment from 1 to 20 or decrement from 20 to 1.
You can access to full explanation to question and answer from this page.