Question: Please write a simple and very basic C + + program to answer this problem: Problem# 3 : Student Grades with Top Performer You are

Please write a simple and very basic C++ program to answer this problem:
Problem#3: Student Grades with Top Performer
You are tasked with generating a report for student assessments in the Fall 2024 semester. The program
must:
Process the assessments of a set of students, where each student has the following data:
A student ID (formatted as U23xxxxx)
Course-work mark (between 0 and 100)
Midterm exam mark (between 0 and 100)
Final exam mark (between 0 and 100)
Validate the input mark to ensure that they are between 0 and 100. If a student's grade is
outside this range, it should be marked as invalid.
Calculate the final score for each student as a weighted average of: 30% from course-
work, 30% from the midterm exam, and 40% from the final exam.
Generate a report that includes:
All students and their grades (course-work, midterm, final exam, and final score). For invalid
records, mark them with "*** Invalid".
The top-performing student, based on their final score.
The total number of valid and invalid records processed.
Format the output as shown in the below sample.
Input File Format (assessments_2024.txt) is given.
Output Report (assessment_full_report_2024.txt): (Sample of 5 records only)
Please write a simple and very basic C + +

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!