The other instructor loves the Visual Flowchart you produced. But he
would really like it to be able to handle multiple students instead of
just one at a time. He has asked you to expand the program so that
multiple students and their test scores and results can be stored.
Starting with a valid flowchart from Week Three (you may start with
the Week Three example posted), arrays will need to be added. Arrays
must be used so the flowchart logic can keep track of mulltiple
students, each with up to five test scores and a final. So, create and
use arrays for the student's names, tests scores and final test scores.
The arrays must be able to store at least ten students and their various
scores. Individual test scores or the average scores can be stored in
the array. If the first option is selected, the test scores array will
need to be five times the size of the student name array.
The following logic midifications will need to be added:
- Create an outer loop based on the name input. The loop control
should be based on the size of the array (do not go past the end of the
- A decision statement just after the name entry will check to see if
the flowchart should continue. A blank name ("" - two sets of double
quotes) will cause the input logic to end (name entry sentinel value).
- The test score entry logic does not change, except for the use of arrays for the test scores or average.
- Once all input is completed (no output until all input is finished),
the flowchart output should display the the name, the test average, the
final test score, and the correct letter grade (up to one point will be
added back to your score if you add + and - letter grade logic). not
- Loops are required when using arrays. This is for both the input and
the output. You can modify last week's Visual Logic flowchart or create
a new one.