Nov-03-2020, 05:46 AM
(This post was last modified: Nov-03-2020, 05:47 AM by deanhystad.)
Do you have to use "if"?
For your example, do you mean that 1234 would become 4123 or 4321?
What is your idea for getting hold of the digits in your four digit number? I would start with that part. If you can get the digits the rest is pretty easy.
You should post this under the Homework section.
For your example, do you mean that 1234 would become 4123 or 4321?
What is your idea for getting hold of the digits in your four digit number? I would start with that part. If you can get the digits the rest is pretty easy.
You should post this under the Homework section.