Question: you will be writing a more complex modular program that uses at least two loops and validates user input. As long as your program satisfies
you will be writing a more complex modular program that uses at least two loops and validates user input.
As long as your program satisfies the requirements listed below, you are free to design and write any type of program that you care to. I encourage you to be creative, and to work on programs that have special meaning for you because you'll have more fun (and so will I). Feel free to create a more complex version of the program you did in an earlier lab, as long as it meets all of the additional requirements above.
Full pseudocode, along with the Input List and Output List, should be included in the comments.
It must have at least one input and at least one output.
It must validate the user input. This means the user is not allowed to just enter any value. You must check the value, and ask the user to enter it again, and repeat this loop until the user enters a valid value.
Your program must use at least two loops in meaningful ways. The loops you use for input validation count for at most one of the two required loops. If you use loops to validate two separate inputs, that does not count as two loops for satisfying this lab requirement.
It should be organized into separate modules (one module for input, one module for output, and one module for each separate calculation or action that the program is to perform [that is, each module should be "cohesive" and should only do one thing]).
Use parameters and arguments to pass values into your modules (don't use global variables).
The Python code should run correctly, and the logic should match your pseudocode.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
