The SAS data setnamed WORK.TEST is listed below: capacity airplanetype staff 150Large 10
Which one of thefollowing SAS programs created this data set?
A. data work.test;capacity = 150;
if 100 le capacityle 200 then
airplanetype ='Large' and staff = 10; else airplanetype = 'Small' and staff = 5;run;
B. data work.test;capacity = 150;
if 100 le capacityle 200 then do;
airplanetype ='Large'; staff = 10; end; else do;
airplanetype ='Small'; staff = 5; end; run;
C. data work.test;capacity = 150;
if 100 le capacityle 200 then do;
airplanetype ='Large'; staff = 10; else do;
airplanetype ='Small'; staff = 5; end; run;
D. data work.test;capacity = 150;
if 100 le capacityle 200 then; airplanetype = 'Small'; staff = 5; else;
airplanetype ='Large'; staff = 10; run;