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
Are you involved in writing the inferential analysis plan? Tables specifications?
Describe what are the different levels of administrative users in sas? : sas-grid-administration
What are the difficulties u faced while doing vital signs table or dataset?
What is connection profile? : sas-grid-administration
Explain the difference between using drop = data set option in set and data statement?
Explain bmdp procedure?
What was the last computer book you purchased? Why?
How to create a permanent sas data set?
Difference between SAS STATA & SPSS?
What are the limitations for memory allocation for SAS variables
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
do you need to know if there are any missing values? : Sas programming
What are the uses of sas?
how are numeric and character missing values represented internally? : Sas programming
what is sas business intelligence? : Sas-bi