Question: plz use c language 4.5 Problem 4a: GPA Calculator In the first problem of this lab, we will adjust the code for problem 3c in



plz use c language
4.5 Problem 4a: GPA Calculator In the first problem of this lab, we will adjust the code for problem 3c in Lab 3, the GPA calculator. Instead of just keeping track of the classes, we will create a struct that contains the student's records. We will assume that the student can get from 'A' to 'F' and no '+'or - grades. Grades to Grade Points A = 4 points - B = 3 points - C = 2 points D= 1 points F = 0 points Procedure To start, create a Keil project using the same procedures as Lab 1. The only difference is that you should use main4a.c instead of main.c and include both student.c and student.h. NOTE: There is a new Startup.s file, please use the one included for this lab. Define functions where appropriate! Comment all functions. Similarly, modify the comments at the top of main4a.c and student.c to match your details. 1. Create a struct called course with the following member variables (I have already given student as an example): a. Character array of size 30 that will contain the course's name b. Integer that will contain the course's id (Normally would be the CRN) c. Character that contains the grade the student got in this course d. Integer that contains the number of credits for this course 2. Typedef this course struct so you can use Course instead (I have already given Student as an example) Referring back to Section 4.5, Procedures 1 and 2, create the structure called course and typedef this structure as Course and show to your TA and get his sign-off before you begin work on this lab. These creations can be handwritten for this demo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
