For this assigrment, you will wrise a program that requests the quiz scorei for 7 shudects by nanse. The progran compute

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

For this assigrment, you will wrise a program that requests the quiz scorei for 7 shudects by nanse. The progran compute

Post by answerhappygod »

For This Assigrment You Will Wrise A Program That Requests The Quiz Scorei For 7 Shudects By Nanse The Progran Compute 1
For This Assigrment You Will Wrise A Program That Requests The Quiz Scorei For 7 Shudects By Nanse The Progran Compute 1 (40.5 KiB) Viewed 13 times
For this assigrment, you will wrise a program that requests the quiz scorei for 7 shudects by nanse. The progran computes the arerage score and determines the student with the highest score. The students in this class ace Menry, tdward, lane, wary, flizabeth, lames, and Charles. harte and fills the scores array. This procedure must use a loop. get.4werage takes scores as an in parameter and returns the average in an out pararteter it must use a loop to compute the surn of the scorel. gethighlindex ahs takes sceres as an in parameter and returns the index (1-7) of the student with the highest scoee. This procedure will require an it statement inside a loop. Hints 1. This program requires the use of parallel arrays as described in chapter 7 . 2. Lessens a7 and so have examples of ieputting values into an array and looping through those values. You will perform similar actions for this assignment. 3. If two students are tied for the highest score, vour program only needs to display one of them. 4. The debug. lab Co+ program in lesson 7 includes a function which returns the index of the highest sales. The gettighindex procedure is similar, Sample Output kinput in BOLDI Pease enter the score for Henry 73 Please enter the score for Edward 81 Piease enter the score for Jane 68 Please enter the scoee for Mary 95 Please enter the score for Elizabeth 77 Please enter the score for James 46 Pease enter the score for Charles 83 The average score is 74.7143 The Nigh scare was Mary with a 95 Extra Credit (10 Points) For extra credit, modify your program so that if also displays the name and score for the student with the second highest score. The average score is 74.7143 The high score was Mary with a 95 The next highest score was Charles with a 83 You may either include the extra credit in your initial submission, or in an additional submission.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply