Question: Write a program that can be used to store a set of students data, and find out (a) the name of the students whose gpa
Write a program that can be used to store a set of students data, and find out (a) the name of the students whose gpa is less than 2, (b) students whose gpa is between 2 and 3
You need to use a struct called Student as given below:
struct Student
{
int ID;
string first;
string last;
float gpa;
int semesterHours;
int totalHours;
};
All the data are stored in an input file named student.txt. Your program should read the data in an array called students and then do both the exercises (a) and (b).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
