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 13:30
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
question
Computers and Technology, 23.06.2019 11:00
This chapter lists many ways in which becoming computer literate is beneficial. think about what your life will be like once you’re started in your career. what areas of computing will be most important for you to understand? how would an understanding of computer hardware and software you in working from home, working with groups in other countries and contributing your talents.
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
question
Computers and Technology, 24.06.2019 06:00
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
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, 11.12.2020 04:00
question
Mathematics, 11.12.2020 04:00
Questions on the website: 13722362