Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COSC 1436 Lab #8 Flowchart ault tanitls orrdbody can do this on Paptor For this assignment, you will write a program that requests the quiz

image text in transcribed
image text in transcribed
COSC 1436 Lab #8 Flowchart ault tanitls orrdbody can do this on Paptor For this assignment, you will write a program that requests the quiz scores for 6 identified by ID numbers. The program computes the average score students and determines the ID d tton dont nee 1234 2333 4432 3323 2143 3421 number of the student with the highest score. The ID numbers for the students in this class are: Your program must use this ihudant and computes the weage and highest grade main procedure which calls the four procedures you are Start 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. scores) inputScores takes an in parameter, studentlds 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. highIndax) getAverage takes scores as an in parameter and returns the average in an out parameter. End Index also takes scores as an in parameter and returns the index (1-6) of the student getHigh with the highest score. This procedure will require an if statementi Hints 1. This program requires the use of parallel arrays as described in chapter 7. COSC 1436 Lab #8 Flowchart ault tanitls orrdbody can do this on Paptor For this assignment, you will write a program that requests the quiz scores for 6 identified by ID numbers. The program computes the average score students and determines the ID d tton dont nee 1234 2333 4432 3323 2143 3421 number of the student with the highest score. The ID numbers for the students in this class are: Your program must use this ihudant and computes the weage and highest grade main procedure which calls the four procedures you are Start 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. scores) inputScores takes an in parameter, studentlds 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. highIndax) getAverage takes scores as an in parameter and returns the average in an out parameter. End Index also takes scores as an in parameter and returns the index (1-6) of the student getHigh with the highest score. This procedure will require an if statementi 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions