Heads Up! If you are ready to compare your programming to ours or are wanting to have a look at how we solved it, click 'View solution' below to view at least one way to write this program.
View solution
This is just one of many possible solutions:
There is no solution to this program, it's for you to try it out!