Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi, write the correct code, I have tried to solve this problem 7 times didnt work, please give me the correct code in full format

Hi, write the correct code, I have tried to solve this problem 7 times didnt work, please give me the correct code in full format of C++
image text in transcribed
image text in transcribed
image text in transcribed
Project 14: Class scores Write a program that calculates the total grade for N classroom exercises as a percentage. The user should input the value for N followed by each of the N scores and totals. Calculate the overall percentage (sum of the total points earned divided by the total points possible) and output it as a percentage. SAMPLE RUN #1: ./ETest 1 #include 2 3 using namespace std; 5 int main) f 6 7 int Ni 8 cout > N; //# of assignments 10 float total points-0 11 float total earned-0 12 int points earned; 13 int possible points 14 15 16 for ( int =1;jc=N;1++){ cout > points earned; cout > possible points; total-earned points-earned; 23 24 float overall score - total earned/total points 100 25 cout 2 3 using namespace std 5 int main) at N 8 cout > N: 11 of assignments 10 float total_points o 11 float total earned-0 12 int points earned; 13 int possible_points 14 15 for (int i-1;i> points earned; cout > possible_points ; total earned +points earned total points +possible points 23 24 float overall score - total earned/total points 100 25 cout

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