Question: Write a C program with the following specifications: i . Declare a structure called EngineeringStudent that has the following: Integer variable called studentID to store

Write a C program with the following specifications:
i. Declare a structure called EngineeringStudent that has the following:
Integer variable called studentID to store the id of the student.
String variable (array of characters) of size 30 called studentName to store the student name.
float variable called mathGrade that stores the math grade of the student.
float variable called englishGrade that stores the english grade of the student.
float variable called CSGrade that stores the CS grade of the student.
float variable called studentGPA that stores the gpa of the student.
ii. In the main function declare two variables called student1 and student 2 of type struct
EngineeringStudent and read all of their information (except studentGPA) from the user.
iii. Calculate and print the gpa of each student.
iv. Find and print the maximum grade of the first student.
 Write a C program with the following specifications: i. Declare a

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!