The following SAS program is submitted:
data towns;
input City $ pop year;
cards;
ANDOVER 75000 1998
CARY 80000 1998
ANDOVER 14000 1977
CARY 71000 1986
;
%macro a(location);
data a;
set towns;
%if &location=UK %then %do;
where city='ANDOVER';
%end;
%if &location=NC %then %do;
where city='CARY';
%end;
if pop>70000;
run;
%mend;
%a(UK)
Which one of the following represents the resulting output in the SAS data set A?
A. 1 observation with the value of CARY for the variable CityB. 2 observations with the value of CARY for the variable CityC. 1 observation with the value of ANDOVER
for the variable CityD. 2 observations with the value of ANDOVER for the variable CityCorrect answer: C



雷达卡



京公网安备 11010802022788号







