Mini Quiz 2:

Choose the option below. The function part is the same for both options. The difference is in the complexity of the main program.
Suggestion: complete Option 1 first, then, if time permits, modify the main to complete Option 2.