Question
Write a C program with the following specifications: Declare a structure called EngineeringStudent that has the following: Integer variable called studentID to store the id
Write a C program with the following specifications:
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.
In the main function declare two variables called student1 and student2 of type struct
EngineeringStudent and read all of their information (except studentGPA) from the user.
Calculate and print the gpa of each student.
Find and print the maximum grade of the first student.
Find and print all the student information that has the least amount of gpa.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started