Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

find the best avg grade Giver a list of student test scores, find the best sverae grade. Each student may have more than one test

find the best avg grade

image text in transcribed

Giver a list of student test scores, find the best sverae grade. Each student may have more than one test score in the st Comp ete the bestAveragerade uncio in the editor below. It has one parameter, scores. which is an array cf student test scores. Each element in the array is a two-element array of the forT stucent rame, est sccre e.g. I8cbby" '37". More points will oe aws ded for solutions thst can hancle Iser inputs within s set per od of time ie. code with s faster un-time comp exity. Input Format Ihe input perameter scores is sn s Tay of smsys, wnore each sub array cortains two strings: the studont namc followed by a test score as a sting. You must slso irdude the numoor of ontrios snd the sizc of cach ontry this will slways be 2). See telow for speciic exarrples Test scores may be pasitive or negetive integers Output Format Your urction Tus: re:um a s gle ntecer representing the es average cra de aversge t you enc up with an average grade that Is no: an Integer, you shou d use a cor unction to return the rgest n te er ess man or equz to the Sample Input o Il Bobby". "37" ] [ "Charles.. "100. Lric" " [ "Charles", "22" ] . entered as Eocby Charles 102 Fric 62 Charles 22 Sample Output o e7 Giver a list of student test scores, find the best sverae grade. Each student may have more than one test score in the st Comp ete the bestAveragerade uncio in the editor below. It has one parameter, scores. which is an array cf student test scores. Each element in the array is a two-element array of the forT stucent rame, est sccre e.g. I8cbby" '37". More points will oe aws ded for solutions thst can hancle Iser inputs within s set per od of time ie. code with s faster un-time comp exity. Input Format Ihe input perameter scores is sn s Tay of smsys, wnore each sub array cortains two strings: the studont namc followed by a test score as a sting. You must slso irdude the numoor of ontrios snd the sizc of cach ontry this will slways be 2). See telow for speciic exarrples Test scores may be pasitive or negetive integers Output Format Your urction Tus: re:um a s gle ntecer representing the es average cra de aversge t you enc up with an average grade that Is no: an Integer, you shou d use a cor unction to return the rgest n te er ess man or equz to the Sample Input o Il Bobby". "37" ] [ "Charles.. "100. Lric" " [ "Charles", "22" ] . entered as Eocby Charles 102 Fric 62 Charles 22 Sample Output o e7

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

Filing And Computer Database Projects

Authors: Jeffrey Stewart

2nd Edition

007822781X, 9780078227813

More Books

Students also viewed these Databases questions

Question

Identify five strategies to prevent workplace bullying.

Answered: 1 week ago

Question

1. Who is responsible for resolving this dilemma?

Answered: 1 week ago