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
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming
how will you location sas platform applications available from web browser? : Sas-bi
what are _numeric_ and _character_ and what do they do? : Sas programming
What are the limitations for memory allocation for SAS variables
Explain data step in SAS
explain what is factor analysis? : Sas-administrator
what r the job openings SAS for fresher graduates !
How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
Mention what is SAS data set?
What is the role of unrestrictive users? : sas-grid-administration
What is the differnce between SDTM 3.1.2 to 3.1.1 version
Difference between sum function and using “+” operator?
name the scheduler for scheduling job and explain the scheduler? : Sas-di
what are some good sas programming practices for processing very large data sets? : Sas programming
In proc transpose and data step with arrays which one you pick?