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...

Program to find greatest prime number in n numbers?

Answer Posted / rajani nagandla

Sorry. initialize i=2 directly as 2 is the first prime
number.. no need of checking for 1.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overriding in java?

989


How many bytes is 255 characters?

923


which class is the wait() method defined in? : Java thread

888


What is better - 'bit-shift a value' or 'multiply by 2'?

1120


What are the differences between string and stringbuffer?

1057


Distinguish between a predicate and a function?

939


How to sort list of list in java?

1031


what do you mean by stream pipelining in java 8? Explain

972


How does the java compiler work?

912


Is 0 true or false?

942


How can you say java is object oriented?

1006


How can the checkbox class be used to create a radio button?

979


Explain about the main() method in java?

1019


What is the difference between a static and a non-static inner class in java programming?

984


What is ascii code?

1155