Question: COSC 1436 Lab #8 Flowchart For this assignment, you will write a program that requests the quiz scores for 6 students identified by ID numbers.
COSC 1436 Lab #8 Flowchart For this assignment, you will write a program that requests the quiz scores for 6 students identified by ID numbers. The program computes the average score and determines the ID number of the student with the highest score The lD numbers for theninhi as1234 233 4432 3323 2143 3421 1234 2333 4432 3323 2143 3421 Your program must use this apopsqpns highest gads main procedure which calls the four procedures you are to implement. setStudentlds takes an out parameter Studentlds, which is an array of integers. It sets each array element to a student ID according to the table above. Sturt soares) inputScores takes an in parameter, studentids and an out parameter, scores. which is an array of 6 doubles. It asks for the score for each student and fills the scores array. This procedure must use a loop. highlndax) getAverage takes scores as an in parameter and returns the average in an out parameter. End getHighindex also takes scores as an in parameter and returns the index (1-6) of the student with the highest score. This procedure will require an if statement inside a loop. Hints 1. This program requires the use of parallel arrays as described in chapter 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
