Answer to Question #2443 in C++ for reem
Each line in the input file contains a student ID followed by marks in homework assignments (out of 10), in lab tests (out of 50) and in the final test (out of 40). Each of these four pieces of information is separated by a tab.
Your program should write the output to an output file called results.dat as follows:
1. For each student write the following on a line: ID followed by the total mark followed by the grade separated by tabs. Assume grades are calculated according to the following table:
Below 55: F
2 If the class average is 80% or above your program should display on the screenon the screen the message “high average”, otherwise display “normal average.” Use the ternary
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!