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
what is SAS OPTIMIZATION?
How long can a macro variable be? A token? : sas-macro
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
What are SAS/ACCESS and SAS/CONNECT?
if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming
What are common programming errors committed in sas
explain what is data set in sas? : Sas-administrator
Can you explain the process of calendar?
how will you locate the sas platform applications? : Sas-bi
Describe a time when you were really stuck on a problem and how you solved it?
What is the command used to find missing values?
Name any two sas spawners? : sas-grid-administration
what is the primary data source for the wrs? : Sas-bi
What are the different servers in sas? : sas-grid-administration