Question: I'm having trouble with my code in visaul Studio programming. Here is the question. Using a for loop ask user to enter the grades of

I'm having trouble with my code in visaul Studio programming. Here is the question. Using a for loop ask user to enter the grades of 5 courses. The user should enter character values, e.g., A. Calculate the GPA of the user (assume all courses have equal number of credits)Note 1:Convert the character values entered to numerals, e.g., A to 4Note 2:Use the getchar();function after scanf to avoid accepting as a character I'm having trouble with my code in visaul Studio programming. Here is

the question. Using a for loop ask user to enter the grades

DC Hile Hit View Project wuld Debug Test Analyze Inok Extensions Window Hela Search (Ctrl+O) labtext X 2 Curium - A III 5 B Uve Store Process 1520 lander. Elfoydens - Threark 1614) Main Ihrani Y Stade Frar main Sourcec XVS Live Share: Guiung Started lablext Global Stop) ) 6 7 char grade[5]; 8 int i, grade_point; float sun = 0.0 ; 10 printf("Enter the grade (A,B,C,D,F) of 5 courses in"); 11 12 for(i = 1; i 17 printf(" Subject trade It Grade_Equivalent It Grade point in"); 18 for(i -1; i 17 printf(" Subject trade It Grade_Equivalent It Grade point in"); 18 for(i -1; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!