Ask your own question, for FREE!
Computer Science 17 Online
OpenStudy (anonymous):

algorthm for reverse of a number

OpenStudy (turingtest):

//while the number remaining is not 0 //get last digit (think modulo (%) operator) //print that digit //"chop off" last digit (think integer division)

OpenStudy (bibby):

^ that or an equivalent of itoa + string reversal

OpenStudy (rsmith6559):

IMO, it's more fun after converting to a string to do it recursively.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!