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

Describe the function and untility of the most difficult SAS macro that you have written.

2093


What is the difference between using drop = data set option in data statement and set statement?

1156


What is the difference between %put and symbolgen? : sas-macro

1232


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

2174


Are you involved in writing the inferential analysis plan? Tables specifications?

3947


Explain the purpose of retain statement.

1046


What are the table names in oracle database...?

2746


How you can read the variables that you need?

1119


Which are the statements whose placement in the data step is critical?

1252


For what purpose would you use the RETAIN statement?

1512


What sas features do you use to check errors and data validation?

1215


Are you sensitive to code walk-throughs peer review or QC review?

3139


what is the different between functions and procs that calculate the same simple descriptive statistics? : Sas programming

1057


Explain why double trailing @@ is used in input statement?

1055


what can you learn from the sas log when debugging? : Sas programming

1084