Need help with homework
Hiya, I've been trying to solve an exercise for a bit but it's boggling me.
The exercise is:
Write a program that accepts a 3 digit integer (100 for exmaple) and swaps the numbers in the ones and hundreds
For example: 523 -> 325
i only know up to string, and the question requires me to solve it in a way a beginner would.
The exercise is:
Write a program that accepts a 3 digit integer (100 for exmaple) and swaps the numbers in the ones and hundreds
For example: 523 -> 325
i only know up to string, and the question requires me to solve it in a way a beginner would.