What is the value of the CITY variable?

The following SAS program is submitted:

data work.flights;

destination = ‘cph’;

select(destination);

when(’LHR’) city = ‘London’;

when(’CPH’) city = ‘Copenhagen’;

otherwise city = ‘Other’;

end;

run;

What is the value of the CITY variable?
A . Other
B. Copenh
C. Copenhagen
D. ‘‘(missing character value)

Answer: A

Latest A00-231 Practice Questions with 262 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments