what is prime numbers? how we can get plc write sas code?
Answer Posted / nandu
A small correction in the above one.
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
and (mod(number1,2) ne 0 and mod(number1,3) ne 0 and mod(number1,5) ne 0 and mod(number1,7) ne 0 and mod(number1,9) ne 0) then output ;
run;
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
what is business intelligence? : Sas-bi
Explain the difference between using drop = data set option in set and data statement?
Differentiate between sas functions and sas procedures.
what are the benefits of data integration? : Sas-di
What are the default statistics for means procedure?
Give an example where SAS fails to convert character value to numeric value automatically?
What is a macro routine?
what is data governance? : Sas-di
What do you understand by the term Normal Distribution?
which date function advances a date, time or datetime value by a given interval? : Sas programming
explain about data integrator metadata reports? : Sas-di
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
what is the function of catx syntax? : Sas-administrator
Name few SAS functions?
what is the use of proc contents and proc print in sas? : Sas-administrator