61.Consider the data step:
data WORK.TEST;
infile 'c:\class1.csv' dsd;
input Name $ Sex $ Age Height Weight;
if Age NE 16 and Age NE 15 then Group=1;
else Group=2;
run;
Which statement produces a functionally equivalent result for assigning Group a
value?
A. if Age not in(15,16) then Group=1; else Group=2;
B. if (Age NE 16) or (Age NE 15) then Group=1; else Group=2;
C. where Age not between 15 and 16 then Group=1; else Group=2;
D. both A or C will work.
A对
A和C的区别是什么呢?()包括两边的值吗?
谢谢大家!