@teja : use of comparison operator is not allowed. Sanju :)
On Tue, Aug 23, 2011 at 6:42 AM, teja bala <[email protected]>wrote: > int a,b,c; > c=(a<b)?a:b; > print(c); > > On Tue, Aug 23, 2011 at 6:37 PM, Abhishek Yadav < > [email protected]> wrote: > >> Write a method which finds the maximum of two numbers You should not >> use if-else >> or any other comparison operator. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
