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

how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

1041


how will you location sas platform applications available from web browser? : Sas-bi

1079


what are _numeric_ and _character_ and what do they do? : Sas programming

1158


What are the limitations for memory allocation for SAS variables

1498


Explain data step in SAS

1106


explain what is factor analysis? : Sas-administrator

1118


what r the job openings SAS for fresher graduates !

2458


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

1544


Mention what is SAS data set?

1137


What is the role of unrestrictive users? : sas-grid-administration

1012


What is the differnce between SDTM 3.1.2 to 3.1.1 version

5077


Difference between sum function and using “+” operator?

1164


name the scheduler for scheduling job and explain the scheduler? : Sas-di

1050


what are some good sas programming practices for processing very large data sets? : Sas programming

938


In proc transpose and data step with arrays which one you pick?

3115