Multiple choice technology programming languages

$1,234 The following SA sprogram is submitted data test; infile 'amount'; input @1 salary 6.; run; which one of the following is the value of the salary variable?

  1. 1234

  2. 1,234

  3. $1,234
  4. .(missing numeric value)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Using standard column input w. (like 6.) reads values containing only digits, signs, and decimals. The special character $ and comma , cannot be read by standard numeric informats, resulting in a missing numeric value (.).