SAS_Institute
A00-211 · Question #23
The following SAS program is submitted: data work.new; length word $7; amount = 4; it amount = 4 then word = FOUR'; else if amount = 7 then word = SEVEN'; else word = `NONE!!!'; amount = 7; run…
The correct answer is C. amount word. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
data work.new; length word $7; amount = 4; it amount = 4 then word = FOUR'; else if amount = 7 then word = SEVEN'; else word = `NONE!!!'; amount = 7; run; What are the values of the AMOUNT and WORD variables in SAS dataset work.new?
Options
- Aamount word
- Bamount word
- Camount word
- Damount word
How the community answered
(24 responses)- A13% (3)
- B4% (1)
- C75% (18)
- D8% (2)
Community Discussion
No community discussion yet for this question.