Question: 1) You are given two parallel arrays that have already been loaded with data. The parallel arrays are: STRING names[] includes all student names REAL
1) You are given two parallel arrays that have already been loaded with data. The parallel arrays are:
STRING names[] includes all student names
REAL grades[] contains the grade that each student has received
INTEGER arraySize contains the size of the arrays
Sample data not Actual data for these parallel arrays are:
names[] grades[]
Sara Jones 90.4
Sam Baker 65.3
Donna Smith 85.2
Chris Johnson 72.0
Clay Barker 88.9
Lori Davis 92.8
Ana Enrique 78.7
Tom Jones 59.6
You can assume that both arrays already exist and have been loaded with data.
Write the pseudo code segment to do the following tasks:
Output to the screen all student names and the grades of students with a grade below 60.
Calculate and output to the screen the student names and grades for the students with a grade above the average. (Note: calculate average by dividing the sum of the grades by the total number of grades. Do not use hard numbers in your code use variables)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
