[algogeeks] Re: Maximum of N numbers

2010-09-06 Thread Maria
@Rahul Bt den u are using '!='...is it k...? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to

Re: [algogeeks] Re: Maximum of N numbers

2010-09-06 Thread Rahul Singal
sorry you dont need to use != operator A[1,2,3.N] max=A[1]; for i=2,3,.N if(( A[i]/max)) max=A[i]; is it fine ?? -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to

Re: [algogeeks] Re: Maximum of N numbers

2010-09-06 Thread rahul patil
what if A[i] is a large negative no On Mon, Sep 6, 2010 at 7:20 PM, Rahul Singal rahulsinga...@gmail.comwrote: sorry you dont need to use != operator A[1,2,3.N] max=A[1]; for i=2,3,.N if(( A[i]/max)) max=A[i]; is it fine ?? -- You received this message