The following SAS program is submitted:
data test;
set sasuser.employees;
if 2 le years_service le 10 then
amount = 1000;
else if years_service gt 10 then
amount = 2000;
else
amount = 0;
amount_per_year = years_service / amount;
run;
Which one of the following values does the variable AMOUNT_PER_YEAR contain if an employee has been with the company for
one year?
A. 0
B. 1000
C. 2000
D. . (missing numeric value)
Click Comment link to get answer
repeated question.
ReplyDeleteANSWER IS D
ReplyDeleteD
ReplyDeleteAnswer is B
ReplyDeleteAnswer is B
ReplyDeleteAnswer is D
ReplyDeletewhat is the difference between Question 1 and Question 2?
ReplyDeletehere amount_per_year = 1/0 (or any number division by 0) is always gives missing value.so the answer is d.
ReplyDeleteans is d
ReplyDeleted?
ReplyDeletenv
ReplyDeleteD
ReplyDeleteD
ReplyDeleted
ReplyDeleteans is D final
ReplyDeleted
ReplyDeleteits D
ReplyDeleteans is missing value
ReplyDelete