Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Implement in C++ Hello there, People Server Explorer Files Syllabus The goal is to read a TXT file with student data, and do the following

image text in transcribedImplement in C++

Hello there, People Server Explorer Files Syllabus The goal is to read a TXT file with student data, and do the following operations Conferences 1. Read student data from a file called "students.txt" Collaborations 2. Create a user menu to do the following Chat a. Put student data inside an array as class objects and print them out in the console Criterion Portfolium b. Calculate the average score of all students and print out the score in the console (overloading + required) SOTE/SOLATE c. Find the top student with highest score, and output his/her data to a new file called "top_1.txt" d(optional, 3 Bonus Points). Find the top 3 students with highest score, and output their data to a new file called "top 3.txt" e(Double_Bonus!!). You have to perform option d first before you do this. Sort the data by their score and output them into a file called "GiveMeBonus.txt" Only students.txt @ is provided. You should create a class called "student". and have private variable (student_id, fname, Iname, phone, email and score). You do not need to have "set" or "get" functions as long as you can perform a, b, and coptions. You need to submit 1. main.cpp 2. student.cpp 1009 Oute Show 3. student.h 4. Your output files pe here to search Show all Error X 0 Bi a An Ready 3 e ( 9 ) Hello there, People Server Explorer Files Syllabus The goal is to read a TXT file with student data, and do the following operations Conferences 1. Read student data from a file called "students.txt" Collaborations 2. Create a user menu to do the following Chat a. Put student data inside an array as class objects and print them out in the console Criterion Portfolium b. Calculate the average score of all students and print out the score in the console (overloading + required) SOTE/SOLATE c. Find the top student with highest score, and output his/her data to a new file called "top_1.txt" d(optional, 3 Bonus Points). Find the top 3 students with highest score, and output their data to a new file called "top 3.txt" e(Double_Bonus!!). You have to perform option d first before you do this. Sort the data by their score and output them into a file called "GiveMeBonus.txt" Only students.txt @ is provided. You should create a class called "student". and have private variable (student_id, fname, Iname, phone, email and score). You do not need to have "set" or "get" functions as long as you can perform a, b, and coptions. You need to submit 1. main.cpp 2. student.cpp 1009 Oute Show 3. student.h 4. Your output files pe here to search Show all Error X 0 Bi a An Ready 3 e ( 9 )

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions