what is prime numbers? how we can get plc write sas code?
Answer Posted / nandu
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 then
output ;
run;
| Is This Answer Correct ? | 4 Yes | 9 No |
Post New Answer View All Answers
what is function of retain statment
What is the difference between nodupkey and nodup options?
What is the different between functions and PROCs that calculate the same simple descriptive statistics?
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
What does P-value signify about the statistical data?
What is the difference between proportion and average?
Are you sensitive to code walk-throughs peer review or QC review?
What are the table names in oracle database...?
where to use sas business intelligence? : Sas-bi
What are the different versions of sas that you have used until now? : sas-grid-administration
How do you convert basic cube to transaction cube and transaction cube to basic cube?
what is sas and what are the functions? : Sas-administrator
describe the interaction table in sas di? : Sas-di
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming