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
what is the function of catx syntax? : Sas-administrator
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
List out some key concept of SAS
What can you learn from the SAS log when debugging?
What is the use of %include statement?
What is the basic structure of a sas program?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
What is the difference between input and infile statement?
how do you pull data from equifax?tell me the process?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
what is the one statement to set the criteria of data that can be coded in any step? : Sas programming
what are sas bi dashboard components? : Sas-bi
why is sas data integration studio important? : Sas-di
In SAS explain which statement does not perform automatic conversions in comparisons?
Can you suggest us materials for sdtm mapping?