正在加载图片...
Sample Program: Computing Course Grades r Problem statement Write a class roster maintenance program that will allow the user to create a new roster Open an existing roster(can open one roster at a time) Save the current roster to a file Add and delete students from a roster Change the name of students. Edit the test scores of students. Display the name test scores, and course grade of a single studentor all students in the roster The program maintains both graduate and undergraduate students. For each student, we maintain his or her name test scores, and final course grade. The final course grade is computed by using the following formula(from Chapter 14 Type of Student Grading Scheme Undergraduate Pass if(test1+test2+test3)3>=70 Graduate Pass if(test1+test2test3)/3>=80 C 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 15-3© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 15 - 3 Sample Program: Computing Course Grades Problem Statement Write a class roster maintenance program that will allow the user to Create a new roster. Open an existing roster (can open one roster at a time). Save the current roster to a file. Add and delete students from a roster. Change the name of students. Edit the test scores of students. Display the name, test scores, and course grade of a single student or all students in the roster. The program maintains both graduate and undergraduate students. For each student, we maintain his or her name, test scores, and final course grade. The final course grade is computed by using the following formula (from Chapter 14): Type of Student Grading Scheme Undergraduate Pass if (test1+test2+test3)/3 >= 70 Graduate Pass if (test1+test2+test3)/3 >= 80
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有