The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I need help with this c++ program please and thank you
Â
CIS150 – ProgrammingThe aim of this project is to implement a course grading system.We assume that thegrades of all students are initially stored in a file in the following format:We assume there are 5 grades for student: midterm, final, quizzes, labs, project.The first line of the file gives the weight (in the total grade) of each grade. In the exampleabove, we have the following weights:Midterm: 25%Final: 25%Quizzes: 20%Labs: 10%Project 10%Each other line contains the information and grades of each student. For example, thesecond line states that student with Id 100, first name Lionel, last name Messi, received100 in the midterm, 90 in the final, 95.5 in the quizzes, 100 in the labs, and 99 in theproject.Your program should be able to process any data stored in the file. It should also get thefile name from the user. The number of students in the course is between 1 and 100.Whenever the program is executed, it first reads the input file (file name to be entered bythe user) to fill out a 1-dimensional array. The type of the array is the following structure:struct student{int id;string first;string last;float midterm;1
Attachments: