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 does the run statement do? : Sas programming
what is factor analysis? : Sas-administrator
where are dashboard components are created and maintained? : Sas-bi
How would you identify a macro variable?
What is the difference between %local and %global? : sas-macro
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
what is intially documentation in sas?
Define run-group processing?
How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?
What are SAS/ACCESS and SAS/CONNECT?
it will become easy if uuu provide website linkssss and list of consultanciessssss
what is the difference between infile and input? : Sas-administrator
What is the order of application for output data set options, input data set options and SAS statements?
what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming
what is operational data and operational system? : Sas-di