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 must a class do to implement an interface in java programming?

1070


Explain java coding standards for variables ?

1179


What are wrapper classes in java?

1083


Why is the type for real numbers called double?

966


What is meant by data hiding/encapsulation?

1110


Can we make main() thread as daemon?

1118


Can java inner class be static?

1030


Which eclipse is best for java?

1005


Explain the purpose of garbage collection in Java?

1035


What does t in java mean?

1006


How java enabled high performance?

1065


What is a bufferedreader?

1102


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

2739


What is the relationship between clipping and repainting under awt?

1152


Which is faster string or stringbuilder?

934