Quote:
I don't understand what I'm supposed to be doing.
There is no way we can teach you how to read a requirement and understand it. You need to talk with your teacher, classmates can help too.
And doing your homework for you will not help you either.
Advice : Read again the requirement carefully, note what make sense to you, organize your understanding, read again and see if you can make sense of further things. step by step, you should be able to make sense of the whole requirement.
The requirement is a little lengthy, but not really complicated, and it is consistent.
As future professional programmer, you have to handle much longer requirements, more complicated, and often with inconsistent constraints.
- Learn one or more analyze methods, E.W. Djikstra/N. Wirth
Stepwize Refinement/top-Down method is a good start.
Structured Programming.pdf[
^]
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[
^]
https://en.wikipedia.org/wiki/Structured_programming[
^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[
^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[
^]
Program Development by Stepwise Refinement[
^]