Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. using simple I/O in C++ Requirements 1) Programming language: C++ 2) Development/Running Environment: CLion. The implementation details Write a program that calculates the total

image text in transcribedimage text in transcribed

2. using simple I/O in C++ Requirements 1) Programming language: C++ 2) Development/Running Environment: CLion. The implementation details Write a program that calculates the total grade for N classroom exercises as a percentage and letter grade. The user should input the value for N followed by student scores and maximum possible score for each of the classroom exercise. Your program will calculate total points earned, total points possible, overall percentage, and letter grade. Overall percentage = total points earned 100/ total points possible Letter grade is calculated as follows: Sample input and output are shown as follows: How many exercises to input? 3 Score received for exercise 1: 10 Total points possible for exercise 1: 10 Score received for exercise 2: 7 Total points possible for exercise 2: 12 Score received for exercise 3:5 Total points possible for exercise 3:8 Your total is 22 out of 30 , or 73.33% Your letter grade is: C Test your program with the sample I/O shown above, take a screen shot of the output screen and include it with your homework submission. Error Checking Your program will check for the following errors and will display appropriate error message: 1. Number of exercises must be greater than 0 . 2. Score received for an exercise and total points possible for an exercise must be positive. 3. Score received for an exercise must be less than or equal to total points possible for an exercise. Make sure to add a block of comments at the top of all your files as follows

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

=+9. Think about a campaign direction.

Answered: 1 week ago