Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Given an input file( named inputFile.txt) with a list of students in the followi

ID: 3658698 • Letter: G

Question

Given an input file( named inputFile.txt) with a list of students in the following format: Name: John Milton Major: EE GPA: 3.98 Name: Karl Lewis Major: CS GPA: 3.6 Name: Homer Simpson Major: CE GPA: 4.0 . . . A) Write a program to display the file content in the following format: Name: Major: GPA: John Milton EE 3.98 Karl Lewis CS 3.6 Homer Simpson CE 4.0 B) Count the number of record in the file C) Write the table displayed on A) into a new file named outputFile.txt D) *Optional: Compute the average GPA E) *Optional: Count the number of students from each major F) *Optional: Write the stats D) and E) at the end of the outputFile.txt

Explanation / Answer

This is a simple c++ code......pls post in whhat prog language do you need solution.... #include using namespace std; struct Student { char Name[30]; float GPA; int Major; }; void StudentData(Student&); void ChangeDate(Student&); void GetStudent(Student&); int main() { Student s1; Student s2 = StudentData(&s1); cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote