Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between proportion and average?

3264


How many data types are there in SAS?

1004


How to create an external dataset with sas code?

1067


what is sas application server, database server, sas olap server and sas metadata server? : Sas-di

955


How to limit decimal places for variable using proc means?

1041


Differentiate between ceil and floor functions.

1097


Can you execute a macro within a macro? Describe. : sas-macro

1065


what are some differences between proc summary and proc means? : Sas programming

1040


Tell e how how dealt with..

2199


What would you change about your job?

2331


What is program data vector (pdv)?

1186


what is program data vector? : Sas-administrator

1009


which date functions advances a date time or date/time value by a given interval? : Sas programming

899


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1699


Which command is used to perform sorting in sas program?

986