Extra Credit II Write a C++ program that performs the grading for a semester course for 25 students. Your program should

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Extra Credit II Write a C++ program that performs the grading for a semester course for 25 students. Your program should

Post by answerhappygod »

Extra Credit Ii Write A C Program That Performs The Grading For A Semester Course For 25 Students Your Program Should 1
Extra Credit Ii Write A C Program That Performs The Grading For A Semester Course For 25 Students Your Program Should 1 (73.04 KiB) Viewed 26 times
Extra Credit II Write a C++ program that performs the grading for a semester course for 25 students. Your program should accept as input a student's first name, last name, 3 test scores, project score and finals score. Using the following weights. Each test 15, Project 20% and Finals 354 (Note: this is not how I'm going to grade this course). Your program should contain the following functions. a. calculate Total (A value returning function that takes in a single student's test scores, project score, and finals score to calculate the total using the weights above) b. getGrade (A value returning function that takes in a single student's total, and determines their letter grade) c. printResult (A void function that takes in a student's first name, last name, total and grade from the main and outputs them to an output file) Hint: The easiest way to do this is to make all those functions work for one student. Then loop them inside the main to work for all 25 students. DO NOT close the file inside the printResult function, ask me if you don't understand why Click the link below to open the input file Finalinput.but How to calulate; To find 15% weight for a test, you can divide the test by 100 and then multiply by 15 or directly multiply it by 15% For example, If a student gets 50 on a test, (50/100). 15 = 7.5% or 50 * 0.15 = 7.5% Then you just do the same for all the tests, project, final and add them together Output should look like this Michael Muller 84.7 B Carol Danvers 91.2 A
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply