Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Directions:Write a program that asks a person for their name, graduation year, each course name, if it is an AP course, and average. Compute and

Directions:Write a program that asks a person for their name, graduation year, each course name, if it is an AP course, and average. Compute and display a student's GPA and weighted GPA. Print a summary showing the courses, the letter grades, the GPA, and the weighted GPA of the student. You should have a student class that can create student objects. All associated methods should be created within the student class and NOT within the main method.
Example:
INPUT
Student: Jennifer McIntyre
Graduation Year: 2021
Course 1:
Class: English
Is AP: Yes
Grade: 48
Course 2:
Class: Math
Is AP: Yes
Grade: 89
Course 3:
Class: Computer Science
Is AP: Yes
Grade: 74
Course 4:
Class: History
Is AP: No
Grade: 55
OUTPUT
Jennifer McIntyre
Graduation Year: 2021
English: F
Math: A
Computer Science: C
History: D
Unweighted GPA: 1.75
Weighted GPA: 2.25

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

How can predictive analytics improve the speed of hiring?

Answered: 1 week ago