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


Please Help Members By Posting Answers For Below Questions

Mention few capabilities of sas framework.

683


What are the five ways to do a table lookup in sas? : sas-grid-administration

584


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

1679


what is the use of proc contents and proc print in sas? : Sas-administrator

599


how would you create multiple observations from a single observation? : Sas programming

562






What are the features of SAS?

569


Explain proc univariate?

597


why a stop statement is needed for the point= option on a set statement?

617


Of all your work, where have you been the most successful?

4190


How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

1086


List down the reasons for choosing sas over other data analytics tools.

799


how many types of prompts are there? : Sas-bi

542


Explain translate function?

620


how many types prompting framework can be broken down to? : Sas-bi

617


What is the function of Stop statement in a SAS Program?

638