what is prime numbers? how we can get plc write sas code?
Answer Posted / santosh reddy
data prime (drop=j count);
do i=100 to 1 by -1;
count=0;
do j=i to 1 by -1;
if mod(i,j)=0 then count+1;
end;
if count=2 then output;
/* output;*/
end;
run;
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
explain the key concept of sas? : Sas-administrator
Mention what are the data types does SAS contain?
what is study design in while working with SAS? what are screening variables in SAS?
what are all the reports you generated in your recent project?
Difference between sum function and using “+” operator?
What are the best sas programming practices for handling very large datasets? : sas-grid-administration
what are informats in sas? : Sas-administrator
What function CATX syntax does?
Can you execute a macro within a macro? Describe. : sas-macro
what is the use of sas management console? : Sas-di
Name some categories in sas 9? : sas-grid-administration
What do the put and input function do?
Which function is used to count the number of intervals between two sas dates?
what is the difference between nodup and nodupkey options? : Sas programming
explain the function of substr in sas? : Sas-administrator