This is For C Sharp! Can someone please give me working code on this question. i
ID: 3677506 • Letter: T
Question
This is For C Sharp!
Can someone please give me working code on this question. i am still very new to C# and i am trying to learn the logic. i am completely stumped here.
i need help to write an application that calculates a student’s GPA on a 4.0 scale. Grade point average (GPA) is calculated by dividing the total amount of grade points earned by the total amount of credit hours attempted. For each hour, an A receives 4 grade points, a B receives 3 grade points, a C receives 2 grade points, and a D receives 1 grade point. by allowing the user to input any number of courses and associated grades And displaying the number of hours earned and the GPA.
Explanation / Answer
#include using namespace std; int main() { char grade; double gpa=0.0; coutgrade; switch(grade) { case'A': case'a': gpa=4.0; coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.