Your assignment is to write a program that counts coins. When your program does exactly what mine does, print a screen shot of it after it has counted at least one of each type of coin. Be sure that it gives the correct total amount.
I would advise you to do an internal structure plan before you try to program this.