Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The program language I am using is C++ Homework Description For this assignment, you will be provided a file with actual scores and attendance information
The program language I am using is C++
Homework Description For this assignment, you will be provided a file with actual scores and attendance information (student ID's have been changed to protect identities), and you will write a program that 1) reads the file contents, 2) calculates a numerical and letter grade, 3) prints the student ID, numerical grade, and letter grade to a file, and 4) calculates the average and standard deviation of the final course grades. The numerical grade is calculated as: CourseGradePercentage J (Attendance 0.10/25 (hw1 hw2 hw3 hw4 hw5 hw6 hw7) 0.35/700 exam1 0.15/25 exam2 0.15/25 finalExam 0.25/40) 100 The file that you must open to read the grade data is named "sampleGrades.txt." Keep in mind, your program should work for varying amounts of students in the "sampleGrades.txt." (Do not make 6 different variables for the students) Your program must use this file name. This file has the following format: ID Attendance hw1 hw2 hw3 hw4 hw5 hw6 hw7 exam1 exam2 finalExam 7 17 90 95 82 90.3 68 99 60 23 14 25 8 25 90 102.9 98.7 95.55 100 72 105 21 23 35 9 23 80 93 95 53 78 68 100 19 18 22 10 24 83 96 100 96 55 84 100 19 14 28 11 22 96.6 87 97 77 70 85 100 22 16 26 101.85 97 12 23 99.75 99.75 86.1 100.8 105 22 18 36 For the letter grade assignments, use this table: A+ 97 100 A 93Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started