Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 2 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 27 Jul 2017 My Price 6.00

students' score

Write a program which repeatedly asks the user to enter students' score in a test until the user enters -1. Once the user enters -1, the program outputs the average of all the grades. Use a while loop to keep getting a new grade (grade must be from 0 to 100). Keep count of how many grades have been entered and calculate the total of all the grades. To compute the average: Divide the total grades by number of grades.

Compute the highest grade among all the grades. (Hint: highest grade: assume the first one to be the highest grade, for each new number, check whether it is higher than the current highest (max), if it is, set it as our new highest. At last, output the average and highest grade.)

Note: Double check that the average calculated at the end doesnA????1t include the -1.

Example of input/output: To get final average and highest score, enter -1.

Enter the score for student 1: 100

Enter the score for student 2: 65

Enter the score for student 3: 40

Enter the score for student 4: 80

Enter the score for student 5: 80

Enter the score for student 6: -1

The average is 73

The highest score is 100

Answers

(5)
Status NEW Posted 27 Jul 2017 09:07 AM My Price 6.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â-----------  -----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------sol-----------uti-----------on.-----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- ca-----------tch-----------

Not Rated(0)