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.);

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.