X hits on this document

204 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 views204
Page views204
Page last viewedThu Jan 19 11:50:11 UTC 2017
Pages63
Paragraphs754
Words4119

Comments