= 0) { infile >> num; //read in a value from the file /*If the file object goes into the fail state, BUT the eof has not been reached, then the problem is due to reading a non-numeric value into a variable designed to hold a numeric value. */ if (infile.fail() && !infile.eof()) { cout"/>

C++ Advanced Programming Hi, I have an assignment that I need completed. Please read the attached document. Thank you! Criteria Ratings Points Prog