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 withthe Week Three example posted), arrays will need to be added. Arraysmust be used so the flowchart logic can keep track of mulltiplestudents, each with up to five test scores and a final. So, create anduse 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 variousscores. Individual test scores or the average scores can be stored inthe array. If the first option is selected, the test scores array willneed 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 controlshould be based on the size of the array (do not go past the end of thearray). A decision statement just after the name entry will check to see ifthe flowchart should continue. A blank name (“” – two sets of doublequotes) will cause the input logic to end (name entry sentinel value).
Once all input is completed (no output until all input is finished),the flowchart output should display the the name, the test average, thefinal test score, and the correct letter grade (up to one point will beadded back to your score if you add + and – letter grade logic). notchanged.Loops are required when using arrays. This is for both the input andthe output. You can modify last week’s Visual Logic flowchart or createa new one. 11
111
grade >= 80
Falsa
grade >= 70
lettergrade = “E
grade >= 60
lettergrade = “C”
tergrade = “F”
lettergrade = “D”
w
Lettergrade
grade >= 90
Falsa
lettergrade = “A”
grade >= 80
lettergrade = “B”
1:1
lettergrade = “C”
End of Lettergrade