Quote:
I've done the input part, so add on to it or change it if you want:
The input part is common to every assignment, all the interest of every assignment is to make work on the other part, the one you have done nothing.
You express no problem, no question, you show no try beyond the user input.
Steps to a solution:
- Try to solve the problem by hand.
- Think of your solving method in a mechanical way.
- This is basically your algorithm.
- Now have to translate to code and check if program is working.