actually the code is correct.... line no 5 has been repeated again with type casting.....thats it... both the code gives the same answer 2 5
On Fri, Sep 16, 2011 at 11:58 PM, wellwisher <[email protected]> wrote: > but your programming is giving compilation error > http://ideone.com/sqsNn > the first one is giving output 2 and 5 > > -- > 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.
