what is prime numbers? how we can get plc write sas code?
Answer Posted / nandu
A small correction in the above one.
Data samp;
input number1 @@;
cards;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
;
run;
data samp2;
set samp;
number2=number1 ;
if mod(number1,1) eq 0 and mod(number1,number2) eq 0
and (mod(number1,2) ne 0 and mod(number1,3) ne 0 and mod(number1,5) ne 0 and mod(number1,7) ne 0 and mod(number1,9) ne 0) then output ;
run;
Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
what versions of sas have you used (on which platforms)? : Sas programming
What is a method to debug and test your SAS program?
Hi Friends, Am Priya,new to your forum. am looking for Interview questions on SAS Platform Administration. I searched everywhere but I couldn't find them,please can anyone help me with complete interview questions normally everyone will face in the interviews on SAS Administration. am really facing problems in the interviews,am not able to answer any of their questions. I would really appreciate all your help if you can email the complete Interview Questions to priyafeb84@gmail.com Kindly awaiting for your reply with eager
What is the difference between SAS functions and procedures?
why is a stop statement needed for the point=option on a set statement? : Sas programming
Explain what Proc glm does?
What is the command used to find missing values?
What is PROC in SAS?
What is the difference between %put and symbolgen? : sas-macro
What does the trace option do?
Mention the category in which sas informats are placed?
Of all your work, where have you been the most successful?
Mention what are the data types does SAS contain?
What do the PUT and INPUT functions do?
How will you generate test data with no input data?