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
Describe the function and untility of the most difficult SAS macro that you have written.
What is the difference between using drop = data set option in data statement and set statement?
What is the difference between %put and symbolgen? : sas-macro
what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?
Are you involved in writing the inferential analysis plan? Tables specifications?
Explain the purpose of retain statement.
What are the table names in oracle database...?
How you can read the variables that you need?
Which are the statements whose placement in the data step is critical?
For what purpose would you use the RETAIN statement?
What sas features do you use to check errors and data validation?
Are you sensitive to code walk-throughs peer review or QC review?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
Explain why double trailing @@ is used in input statement?
what can you learn from the sas log when debugging? : Sas programming