SAS Certified Base Programmer 123 Questions (54)
The following SAS program is submitted:
data work.new; length word $7; amount = 4; if amount = 4 then word = 'FOUR'; else if amount = 7 then word = 'SEVEN'; else word = 'NONE!!!'; amount = 7; run;
Which one of the following represents the values of the AMOUNT and WORD variables?
A.
amount word
7 FOUR
B.
amount word
7 SEVEN
C.
amount word
4 FOUR
D.
amount word
4 ‘ ‘ (missing character value)
Topics:
SAS Base Questions |
1 Comment »
A