what is prime numbers? how we can get plc write sas code?
Answer Posted / nandu
Data samp;
input number1 @@;
cards;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
;
run;
data samp2;
set samp;
number2=number1 ;
if mod(number1,1) eq 0 and mod(number1,number2) eq 0 then
output ;
run;
| Is This Answer Correct ? | 4 Yes | 9 No |
Post New Answer View All Answers
What sas features do you use to check errors and data validation?
What are the scrubbing procedures in sas?
What are the different types of sas functions?
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
which date functions advances a date time or date/time value by a given interval? : Sas programming
How substr function works in sas?
How would you identify a macro variable? : sas-macro
What is interleaving in SAS?
What is the difference between proportion and average?
what are the considerations when picking a SAS/STAT procedure?
What do you know about sas and what we do? : sas-grid-administration
what is sas application server? : Sas-di
explain what is data set in sas? : Sas-administrator
How can you create a macro variable with in data step? : sas-macro
Differentiate input and infile.