subject

Write c++ program to read the grade data for all courses of a student and output the final gpa. ask the user to enter # of courses first, then ask for # of credit hours and the letter grade for each course. note that a translates to 4, b translates to 3, c translates to 2, d translates to 1, and f translates to 0 grade points. weighted gpa is computed by adding (# of grade points * # of credit hours) for all courses divided by total # of credit hours. here is a sample input & output with explanation. sample input & output explanation # of courses: 4 need to get data for 4 courses 2 a current gpa: (2 * 4) / 2.0 = 4.0 3b current gpa: (2 * 4+ 3 * 3) / 5.0 = 3.4 current gpa: (2*4+3* 3+4 * 4) / (2+3+4) = 3.6667 30 current gpa: (2*4 +3*3+4* 4 +3 * 2)/(2+3+4+3) = 3.25 gpa: 3.25 we are done!

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:00
Search the web for two examples of digital art that you like. the examples must be from different mediums (example: one digital photo and one computer animation not two computer animations). compose an essay for each example you choose about why the piece appeals to you, and identify the medium used.
Answers: 1
question
Computers and Technology, 22.06.2019 07:30
What type of computer network ensures high security ?
Answers: 1
question
Computers and Technology, 22.06.2019 19:00
In he example code, what does the title attribute create? a tool tip an element a source a markup
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
You know the right answer?
Write c++ program to read the grade data for all courses of a student and output the final gpa. ask...
Questions
question
Computers and Technology, 16.07.2019 22:00
question
Mathematics, 16.07.2019 22:00