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#: Student Grades with Top Performer
You are tasked with generating a report for student assessments in the Fall semester. The program
must:
Process the assessments of a set of students, where each student has the following data:
A student ID formatted as Uxxxxx
Coursework mark between and
Midterm exam mark between and
Final exam mark between and
Validate the input mark to ensure that they are between and 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: from course
work, from the midterm exam, and from the final exam.
Generate a report that includes:
All students and their grades coursework, midterm, final exam, and final score For invalid
records, mark them with Invalid".
The topperforming 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 assessmentstxt is given.
Output Report assessmentfullreporttxt: Sample of records only
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
