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 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Jace needs to answer a question on square roots to win a quiz. how can he use a spreadsheet to find the square root of 786? a. use the functions round and count b. create a table and chart c. use the function sqrt d. use the function now
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Plz ( which is an example of a good url?
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
Mathematics, 28.10.2020 15:50
question
Mathematics, 28.10.2020 16:00
question
Mathematics, 28.10.2020 16:00
question
English, 28.10.2020 16:00
question
Mathematics, 28.10.2020 16:00
question
Mathematics, 28.10.2020 16:00
question
Mathematics, 28.10.2020 16:00
Questions on the website: 13722363