Question 11: You have been given a below SAS program
data course100 (drop=index);
do until(TOTAL_INCOME>100000);
TOTAL_INCOME+5000;
TOTAL_INCOME+TOTAL_INCOME*.10;
YEAR+1;
output;
put _all_;
end;
run;
Select the DO while statement which can be replace with the DO UNTIL statement?
- do while(TOTAL_INCOME>100000);
- 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 : 2 Exp : In case of while statement, if first statement become false than, while loop will never be executed.
You can access to full explanation to question and answer from this page.