Question
you will be writing a more complex modular program that uses at least two arrays, and has at least one loop that accesses the data
you will be writing a more complex modular program that uses at least two arrays, and has at least one loop that accesses the data in the arrays.
Full pseudocode, along with the Input List and Output List, should be included in the comments.
It must have at least one output.
If it has user input (which is up to you), then 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 arrays in meaningful ways. These two arrays can contain any type of values, as long as they are both used meaningfully in your program.
Your program must have at least one loop that accesses the data in the arrays. For example, you might have an input loop that asks the user to enter the data one element at a time (if you do this, be sure to validate the data). Or, you might have an output loop that writes the data to the console. Or, you might have a calculation loop that calculates one or more values, such as minimum value, maximum value, averages, and so on. You can have all three of those types of loops.
Your program should be organized into separate modules. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started