Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a class called Transcript to contain your client/demo code. In this class you will read a transcript from a file, print the transcript, and

image text in transcribedimage text in transcribed

Create a class called Transcript to contain your client/demo code. In this class you will read a transcript from a file, print the transcript, and calculate and print the number of credits and GPA. Then you will add and drop current semester courses from the keyboard, and print the transcript again. 1. Create a MyArray of Course objects. 2. Read the student name, student number, and completed courses from the file transcript.txt. The file has student name on the first line, student number on the second line, and then the courses, with each field on a separate line, in the following order: course number, course name, section, department, semester (Fall, Spring, Winter, or Summer and year), grade, credits. For each course read the fields, create a Course object, and add it to the MyArray of Courses. 3. Print the student name and student number, then print all completed courses. 4. Calculate and print the total credits earned. 5. Calculate and print the GPA. This table shows the points earned for each grade. Calculate the grade points for a course by multiplying the points earned by the number of credits. Then calculate the GPA, by adding the points earned for all courses and dividing by the total number of credits completed. 6. Prompt the user to enter four courses being taken during the current semester. Use an empty String for the grade. 7. Prompt the user to drop one of the courses. Prompt for the course number, section, and semester. Create a Course object with these fields, find the matching course in the MyArray, and remove it. 8. Print the student name and number and all of the courses in the MyArray

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

Step: 3

blur-text-image

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

Database Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions

Question

4 How can you create a better online image for yourself?

Answered: 1 week ago