Hello :) I need someone to check my code for errors, thank you.
Write a program that reads a student name. and 2 test scores from a file and prints the three column report of Name. Score1, and Score2 to a file if the scores are valid otherwise skip the student. The program reads input and output file name from keyboard and then opens the file and reads the information one student at a time, verify the scores are between 0 and 100 and prints them to a file in a tabular format. The process continues until eof is reached. Assume all the data is correctly formatted in the file.
Input file format:
90 80 Jack Smith
100 – 90 Nancy Johnson
80 60 Joe Brown
Output file format:
Name Score1 Score2
Jack Smith 90 80
Joe Brown 80 80
line 20: fin is not opened.
line 21: A . is missing.
line 24: verify(...) doesn't exist.
line 25: Due to line 23 there might be a new line in the stream. If so use ignore(...) to remove it.
line 36: closing braces missing.