X hits on this document

169 views

0 shares

0 downloads

0 comments

62 / 63

Copyright ©2004 Pearson Addison-Wesley. All rights reserved.

8-62

Study (1/2)

Write a function that computes the average grades and sorts the grades of two classes.

Your program should input two lists of grades for each class.

Your program should output:

(1) average grades for each class; (2) a list of sorted grades of two classes.

You can use the sorting function in p.401 in the text book.

You can either assume the number of students in each class is fixed or prompt the user to input the number.

Document info
Document views169
Page views169
Page last viewedSat Dec 10 07:15:27 UTC 2016
Pages63
Paragraphs754
Words4119

Comments