
Computer Science Computer Science Forum 
 LinkBack  Thread Tools  Display Modes 
February 28th, 2013, 07:38 AM  #1 
Senior Member Joined: Jul 2012 Posts: 225 Thanks: 0  difficult question on changing order of digits
Hi all. My problem is not about code, it's not that my code is not working. It's that I don't have a code at all. I don't have an idea for an algorithm to solve the following question: I need to write a program that rotates a number (for example, 1234) one turn to the right (to get 4123). Easy right? wrong. I need to do this recursively, and really, I have no idea how to solve this rather simple problem recursively. I'd appreciate any ideas or suggestions...I'm stumped. 
March 1st, 2013, 03:54 AM  #2 
Global Moderator Joined: Oct 2008 From: London, Ontario, Canada  The Forest City Posts: 7,842 Thanks: 1068 Math Focus: Elementary mathematics and beyond  Re: difficult question on changing order of digits
What do you mean by "recursively"?


Tags 
changing, difficult, digits, order, question 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Question about changing number bases  dtmowns  Algebra  7  May 2nd, 2013 09:38 AM 
changing order of integration  Doxxik  Real Analysis  1  December 14th, 2012 05:40 PM 
changing order of a triple integral without visual aid  triplekite  Calculus  1  December 3rd, 2012 12:30 PM 
Changing the order of integration  Yooklid  Real Analysis  3  June 17th, 2010 10:21 PM 
Order of Operations (difficult)  balbasur  Elementary Math  7  November 1st, 2009 03:36 PM 