Reference no: EM13762967
In this assignment, you will implement a simplified gradebook. Your application should:
Ask for a student's name.
Ask for how many letter grades will be inputted.
After all of the valid letter grades are entered, display the student's grade point average (GPA).
Ask if there is another student to be entered. (If yes, then repeat this workflow. If no, end the program cleanly.)
Note that the student's grades are entered as letters, but the GPA calculation will require translating those grades to numerical values. Use the "standard" letter grade-to-number conversion:
A = 4
B = 3
C = 2
D = 1
F = 0
When doing this conversion, you must use a switch block. For the "default" case, output an "invalid grade" message and repeat the input request.
Also, your program must use at least one user-defined function (main does not count). You must define the function and actually use it in your program. You can use the function to prompt for input, calculate the average, etc. It's your choice, but you must have at least one function.
Undergrad and grad
: * Create a superclass, Student, and two subclasses, Undergrad and Grad. * The superclass Student should have the following data members: name, ID, grade, age, and address. * The superclass, Student should have at least one method: boolean isPassed ..
|
Summary of american society for training and development
: Executive Summary for American Society for Training and Development. Which are the three most CRITICAL ISSUES of this reading? Please explain why? and analyze, and discuss in great detail.
|
Organizations of acceptable use policy
: An Acceptable Use Policy (AUP) is a very important policy within organizations to define acceptable employee behavior when accessing company resources. Additionally, there are also legal implications within AUPs.
|
Human population issuses
: Reputable resources and your textbook, discuss the economic impacts of any proposed policy.
|
Write a program use at least one user-defined function
: program must use at least one user-defined function (main does not count). You must define the function and actually use it in your program.
|
Weather disasters problems
: Like earthquakes and volcano eruptions, major hurricanes and tornadoes have occurred long before there were humans on Earth.
|
Establishing an effective it security policy framework
: Establishing an effective Information Technology Security Policy Framework is critical in the development of a comprehensive security program. Additionally, there are many security frameworks that organizations commonly reference when developing t..
|
Review the merits of corporate growth and the situations
: Review the merits of corporate growth and the situations in which a stability strategy might be more appropriate. Some say that a firm that isn't growing isn't healthy? Do you agree? Why or why not?
|
Write a paper that defines innovation-design and creativity
: Write a 350- to 700-word paper that defines and compares and contrasts the following: Innovation, Design and Creativity. Describe the importance of the three items in meeting organizationalobjectives.
|