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

Write a program in java to find the maximum and minimum value node from a circular linked list.

1079


What are the actions that can occur when a thread enters blocked state?

1056


Name some classes present in java.util.regex package.

1029


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

1089


How to find the largest value from the given array.

1012


What is flush () in java?

1008


Give reasons supporting that string is immutable.

940


What is the mapping mechanism used by java to identify IDL language?

1009


What is the difference between a local variable and an instance variable?

1103


hr interview how many minutes asking question

2042


Can you access the private method from outside the class?

968


How will you initialize an Applet?

1146


Is arraylist ordered in java?

1113


Can we sort hashmap in java?

956


Why do we need wrapper classes?

1068