0

Hello, my name is kerry and i just sign up .Well, my question is how do reverse a number input by user using recersive function.Thanks for the help.

I have a sequence of 5 numbers. I want to write it in reverse order. Could you please help me that what will be the algorithm?

4
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by moonw3ll
0

I have a sequence of 5 numbers. I want to write it in reverse order. Could you please help me that what will be the algorithm?

This is different from the question dealt in this thread so start a new one...

0

Think about array indices. To write them from beginning to end, you would start at 0 and go to arrayLength - 1. How might you do the opposite?

0

death_oclock has already solved your problem.But what is your objective behind reversing of the numbers??? We could help you better if you could state that...

0

is it your assignment? i've already solved that problem.. it's a quiz last january.. hmm.. use only loop.

I won't give you the code =))

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.