Dats not the logic Tammana you have to check whether there is any factor in between 2 to number/2; if there is any no then u have to brak at that point.
On Tue, Sep 20, 2011 at 12:10 PM, Tamanna Afroze <afroze...@gmail.com>wrote: > > I checked whether th enuber s divisible by 2 nd 3 repeatedly... > I got no other number which aren't divisible by these two numbers. > nd I am done. > Tht's all abhinav. > > Tamanna > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- @ |3 # ! /\/ @ \./ -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.