Exam4Training

Which SAS statement completes the program and results in a value of ‘Printing750’ for the DEPARTMENT variable?

Given the raw data record DEPT:

—-|—-10—|—-20—|—-30

Printing 750

The following SAS program is submitted:

data bonus;

infile ‘dept’;

inputdept$ 1-11 number 13- 15;

<insert statement here>

run;

Which SAS statement completes the program and results in a value of ‘Printing750’ for the DEPARTMENT variable?
A . department = dept II number;
B . department = left(dept) II number;
C . department = trim(dept) number;
D . department=trim(dept)||put(number,3.);

Answer: D

Latest A00-231 Dumps Valid Version with 262 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version