Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Write a program that calculates and prints the total grade for n assignments as a percentage. Prompt the user to enter the value of

C++

Write a program that calculates and prints the total grade for n assignments as a percentage. Prompt the user to enter the value of n, followed by the number of points received and number of points possible for each assignment . Calculate and print the total number of points received, total number of points possible, and the overall percentage: (total points received / total points possible) * 100.

Output:

Enternumberofassignmentstoinput:3

Enternumberofpointsreceivedforassignment1 :10

Enternumberofpossiblepointsforassignment1 :10

Enternumberofpointsreceivedforassignment2 :7

Enternumberofpossiblepointsforassignment2 :12

Enternumberofpointsreceivedforassignment3 :5

Enternumberofpossiblepointsforassignment3 :8

ourtotalamountofpointsis22outof30,or73.33%.

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

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

Describe a persuasive message.

Answered: 1 week ago

Question

Write the difference between sexual and asexual reproduction.

Answered: 1 week ago

Question

What your favourite topic in mathematics?

Answered: 1 week ago

Question

8. Explain competency models and the process used to develop them.

Answered: 1 week ago