Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

need to be C++ for an academic integrity violation. Prerequisite Knowledge Although many teachers use total points to calculate student grades for a course, some

need to be C++


student submitted image, transcription available below 

for an academic integrity violation. Prerequisite Knowledge Although many teachers use total points to calculate student grades for a course, some use weighted categories. It is important that you understand the difference between the two. The total points method is a much easier calculation. For example, if a student has earned 900 points out of 1000 points possible, simple division (900/100) would yield a 90% for the course. (BTW-that is how this course works!) However, some teachers assign weights to categories, as shown below. If the weights below were assigned and students had the following averages in each category, then they would have the course grades shown below (you should use this data later to test your program to make sure your formula for calculating course grade is accurate): Category Category weight* Student 1 Student 2 Homework 20% 85.5 65.0 Classwork 20% 90.0 68.0 Quizzes 20% 75.0 69.0 Exams 40% 88.0 70.5 Course Grade 85.3 68.6 Pass/Fail (70%) Pass Fail I category weights must equal 100% Problem/Instructions For this program, you are asked to calculate a student's grade for a class using the weighted categories shown above. You should ask the user for their name and for their average for each type of activity. Your program should calculate the grade for the course and determine whether or not that grade is passing. The resulting "Grade Report" should print to an external file named grade_report.txt NOTE: Passing the course is defined as a 70% or better. . If the student is passing, your program should tell them congratulations (or something like that). If the student is not passing, your program should tell them that they aren't passing and how many percentage points they need to pass. Hint: If you don't understand weighted categories/weighted grades, you might want to google that to help you come up with the correct formula.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Get user input for name and average scores in each category name inputEnter your name homeworkavg fl... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Health Care Management

Authors: Sharon B. Buchbinder, Nancy H. Shanks

3rd Edition

128408101X, 9781284081015

More Books

Students also viewed these Operating System questions

Question

1. Explain what is meant by descriptive statistics.

Answered: 1 week ago