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 program data vector? : Sas-administrator
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
Do you need to know if there are any missing values?
How do dates work in sas?
How do you specify the number of iterations and specific condition within a single do loop?
how to change the execute of macro
what versions of sas have you used (on which platforms)? : Sas programming
Name any two sas spawners? : sas-grid-administration
why is sas considered self-documenting? : Sas programming
What are the functions which are used for character handling functions?
How to read an input file in sas?
What does the trace option do?
explain the difference between proc means and proc summary?
what is star schema? : Sas-di
is data integration and etl programming is same? : Sas-di