Question 20:

  1. A raw data record is listed below.

 1---+----10---+----20---+---

 $23,456 750

 The following SAS program is submitted:

 data bonus;

 infile 'file-specification';

 input salary $ 1-7 raise 9-11; 

 (insert statement here)

 run;

 Which one of the following statements completes the program and adds the values of salary and raise to calculate the expected values of the newsalary variable?

  1. newsalary=salary + raise;
  2. Get all Questions and Answer from here
  3. You need to have paid subscription to access all questions
  4. Thanks for considering SAS Certification Material

 Correct Answer : 3

 Exp : You must convert the value of salary from character to numeric in order to perform an arithmetic function on it. You use the INPUT function to convert a character value to a

 numeric value.

You can access to full explanation to question and answer from this page.