Oct-27-2021, 01:57 PM
- ask user for a
- ask user for b
- convert the string a and b to an integer
- for-loop which counts from b to a by -1
- inside the for loop you calculate the 2nd, 3rd and 4th degree, and then you print the results.
Make two functions.
One to ask the user for a number, and one to do the looping + calculation + output.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!