What is the value of the TOTALPASSENGERS variable in the output data set?

The following SAS program is submitted:

data work.passengers;

if OrigPassengers = . then’

OrigPassengers = 100;

TransPassengers = 100;

OrigPassengers = .;

TotalPassengers = sum (OrigPassengers, TransPassengers) +0;

run;

What is the value of the TOTALPASSENGERS variable in the output data set?
A . 0
B. 100
C. 200
D. (missing numeric value)

Answer: B

Latest A00-211 Practice Questions with 270 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments