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 are the data types in sas?

1009


How would you invoke a macro? : sas-macro

1050


: and & modifiers.

1344


Compare sas with other data analytics tools.

987


How do you delete duplicate observations in sas?

1023


How do you test for missing values?

1579


how can you put a "trace" in your program? : Sas programming

1011


Name few SAS functions?

1047


How does the internal authentication work in sas? : sas-grid-administration

1079


How we can create SAS USER DEFINED CODE?

2038


What do you know about sas data set?

1037


If you use a symput in a data step, when and where can you use the macro variable? : sas-macro

1024


What is the difference between SAS functions and procedures?

1102


Intern stastical programmer written test

687


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

1222