SAS_Institute
A00-211 · Question #8
A00-211 Question #8: Real Exam Question with Answer & Explanation
The correct answer is C. LOCALFEE has format of percent6. and COUNTRYFEE has a format of percent6.. See the full explanation below for the reasoning.
Question
The data set RALESTATE has the variable LOCALFEE with a format or 9. and a variable COUNTRYFEE with a format or 7.; The following SAS program is submitted: data history; format local fee country fee percent6.; set realestate; local fee = local fee / 100; country fee = country fee / 100; run; What are the formats of the variables LOCALFEE and COUNTRYFEE in the output dataset?
Options
- ALOCALFEE has format of 9. and COUNTRYFEE has a format of 7.
- BLOCALFEE has format of 9. and COUNTRYFEE has a format of percent6.
- CLOCALFEE has format of percent6. and COUNTRYFEE has a format of percent6.
- DThe data step fails execution; there is no format for LOCALFEE
Community Discussion
No community discussion yet for this question.