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 difference between proportion and average?
How many data types are there in SAS?
How to create an external dataset with sas code?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
How to limit decimal places for variable using proc means?
Differentiate between ceil and floor functions.
Can you execute a macro within a macro? Describe. : sas-macro
what are some differences between proc summary and proc means? : Sas programming
Tell e how how dealt with..
What would you change about your job?
What is program data vector (pdv)?
what is program data vector? : Sas-administrator
which date functions advances a date time or date/time value by a given interval? : Sas programming
I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry
Which command is used to perform sorting in sas program?