@teja : use of comparison operator is not allowed.
Sanju
:)


On Tue, Aug 23, 2011 at 6:42 AM, teja bala <pawanjalsa.t...@gmail.com>wrote:

> int a,b,c;
> c=(a<b)?a:b;
> print(c);
>
>  On Tue, Aug 23, 2011 at 6:37 PM, Abhishek Yadav <
> algowithabhis...@gmail.com> 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 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.
>>
>>
>   --
> 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.
>

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

Reply via email to