Question 17: You have been given below SAS program
data course100;
set course101;
array fee{4} fee1 fee2 fee3 fee4;
array new_fee{4} nfee1 nfee2 nfee3 nfee4;
xxxxx
put _all_;
new_fee{index}=fee{index}+fee{index}*.10;
end;
run;
Replace xxxxx with the correct statement, so that all the defined array variables can be processed?
- do index=1 to 4;
- 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 : You have to start the index and go upto the size of array. Hence it will be 1 to 4.
You can access to full explanation to question and answer from this page.