This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CMPS 150 – Spring 2007 Programming Assignment #9 2007.04.19 Date Assigned: Thursday, April 19, 2007 Due Date: 10:00 PM, Wednesday, April 25, 2007 The coded solution for the following problem is to be done by you and only you. You may ask for help from the class teaching assistants and the instructor, but you may not ask for C++ help from anyone else. You may use your notes, C++ texts, online tutorials, etc., but the code must be your own. If you have a problem with your class account, compiling or debugging your code, or if you are not certain if you have submitted correctly, come see a TA or instructor as soon as possible. 1) Include the following information as comments in the header of your source code: // Author: Your-Name // CLID: Your-login-ID // Class: CMPS 150 Section Your-Section-Number // Assignment: pa9 // Date Assigned: Thursday, April 19, 2007 // Due Date: 10:00 PM, Wednesday, April 25, 2007 // Description: A brief description of the purpose of the program. // // Certification of Authenticity: // I certify that this assignment is entirely my own work. 2) Enter the C++ code for the following description into a file named pa9.cpp in your class folder. 3) Problem Description: This program will use many concepts already covered in CMPS 150, but will focus on programmer-defined functions and arrays. This program must be a menu-driven program, giving the user the following options: A. calculate average GPA based on gender B. calculate average (individual & overall) test score; each student may have a different number of scores C. print player names in order by jersey number (this must be done with an array) D. QUIT The menu must be displayed using a function (it may be void or value-returning). The menu must be displayed using a function (it may be void or value-returning)....
View Full Document
- Spring '08
- TA, Computer program, input file