Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone do these tasks in c++ please, im very confused. Thanks. Task 3: Write a program that asks for the user for the number

Can someone do these tasks in c++ please, im very confused. Thanks.image text in transcribedimage text in transcribed

Task 3: Write a program that asks for the user for the number of students in the class. The program then calls a function named computeTotal, which uses the number of students as a parameter and calculates and display the sum of all grades in class. This function should also return the total to the main function. The program then calls a function named computeAverage. The number of students and the total grade should be used as a parameter for the computeAverage function. The function computes the average grade in the class, and returns the calculated average to the main program. The main program then displays the average grade. The average and the grade should show at least two decimal points

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

Beginning VB.NET Databases

Authors: Thearon Willis

1st Edition

1594864217, 978-1594864216

More Books

Students also viewed these Databases questions

Question

2. To compare the costs of alternative training programs.

Answered: 1 week ago