c++

ASSIGNMENT 5Write a program YourName-Assignment5 (replace YourName with your actual name, no spaces) that reads from a file1 students’ records (one student per line) in the following format:LastName Tests Grade Assignments Gradeand computes and outputs (to the console) the STUDENT STATISTICS in a table format one line per student: Student Name Total Points2 Numeric Grade3 Letter Grade4The student statistics should have the exact table header5.The program should also compute and output (to the console) in the table format like below, the CLASS STATISTICS for the entire class: the number of students6 (row Number) and the average numeric grade7 (row Average) among all students. All text/character columns should be aligned to the left and all floating-point values align to the right and formatted with 2 decimals.For example, here is the how the output will look for the input bellow:You can test your program on the attached StudentsGrades.txt (do edit the file), but your program should work on any other files that have the correct format, thus, do not hardcode the output or the number of students.Your program should be user-friendly (prompt user for input and show a message/explain the output) and programmer- friendly (have comments at the beginning of the code explaining the program and before each line of code explaining what the line is doing) and use only C++ concepts learned in class so far (Chapters 2, 3, 4, and 5 only).Create a Microsoft Word document called YourName-Assignment5-Screenshots.docx (replace YourName with your name, no spaces) that contains screenshots of your entire C++ code (take multiple screenshots if the code is larger than one screen), and the entire console output for the attached StudentsGrades.txt (take multiple screenshots if the output is larger than one window).SUBMIT your YourName-Assignment5.cpp C++ source code and YourName-Assignment5-Screeshots.docx screenshots document files under Assignment5 on eCampus. Do not archive the files or submit other file formats.1 The program should work on any file with that format with different numbers of line. Do not hardcode the number of line, compute it instead when you read from the file.2 You compute the Total Points as the sum between Tests and Assignments.3 You compute the Numeric Grade as the total points (from all the evaluations) divided by 2. The values are between 0 and 1004 The Letter Grade is: A if the numeric grade is between 89.5 and 100, B if the numeric grade is between 79.5 and 89.49, C if the numeric grade is between 69.5 and 79.49, D if the numeric grade is between 59.5 and 69.49, and F if the numeric grade is between 0 and 59.49.5 The table header should have the exact text, but it does not have to be on 2 separate lines/rows, you can put them on one row (.e.g. “Tests Grade” on one line not on 2 separate row)6 The number of lines from the file7 The sum of all the numeric grades divided by the number of students

 
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "GET10" in your order"

If this is not the paper you were searching for, you can order your 100% plagiarism free, professional written paper now!

Order Now Just Browsing

All of our assignments are originally produced, unique, and free of plagiarism.

Free Revisions Plagiarism Free 24x7 Support