Calculate the total for each student

Assignment Help C/C++ Programming
Reference no: EM131103037

Write a C++ program that prompts the user to enter the ID of students with their marks in midtem, course work, and final. The program should then do the following:

1. Calculate the total for each student

2. Calculate the average for each of the assessments

3. Show the minimum and maximum marks for each assessments

The program output should look as below

Program design

1. The funclion readID: purpose of the function is to read students IDs

2. The function readMT: purpose of the function is to read midterm marks

3. The function readCW: purpose of the function is to read course work marks

4. The function readFinal: purpose of the function is to read the final marks

5. The function getTotal: purpose of the function is to calculate the total mark of the course for each students

6. The function getGrade: purpose of the function is to calculate the grade for each student based on their total

7. The function displayResult: purpose of the function is to display the marks and total for each as per the output shown above.

8. Make sure that marks should not exceed the assigned percentage and not negative, i.e midterm should not exceed 20 and 40 for both course work and final

9. Calculation and displaying averages, minimum and maximum marks will be decided by you when writing the program.

Reference no: EM131103037

Questions Cloud

What is the observed value of the f-ratio : If the null hypothesis were true, what would you expect the (approximate) value of the Fratio to be? If the alternative hypothesis were true, what would you expect the value of the Fratio to be? What is the observed value of the F-ratio (i.e., the ..
Find an operating lease employed for a fleet of trucks : Distinguish between operating leases and financial leases. Would you be more likely to find an operating lease employed for a fleet of trucks or for a manufacturing plant?
Create short track using audiotool or another digital studio : For this assignment, you are required to create a short track using Audiotool.com or another digital studio. It can be in any style whatsoever... let your imagination go wild!
Define lessee lessor operating lease financial lease : Define each of the following terms: a. Lessee; lessor b. Operating lease; financial lease; sale and leaseback; combination lease; synthetic lease; SPE c. "Off-balance sheet" financing; capitalizing
Calculate the total for each student : Calculate the total for each student - calculate the average for each of the assessments
List the advantages of a single customer service center : List the advantages of a single customer service center for RR Communications. Devise an implementation strategy that would guarantee the support of the Divisional Presidents for Shared Customer Service Center.
Stages of the business cycle : What are the 4 stages of the business cycle? Like when a business begins, grows, ends, etc. How do you know what stage a business is in?
What is the bond refunding npv : The new bonds would be issued 1 month before the old bonds are called, with the proceeds being invested in short-term government securities returning 6 percent annually during the interim period.a. Perform a complete bond refunding analysis. What is ..
How effective is your agency current communication : How are the key publics that agency where you work or plan to work deals with? How effective is your agency's current communication with the various publics you deal with? Draw from your outside readings to give examples of what you could do to m..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  What is the output of the program

What is the output of the program

  Maintenance personnel of flyhigh airlines

Create a new class named view Maintenance that allows the maintenance personnel of FlyHigh Airlines to view the maintenance details of aircrafts. Write the code snippet that the development team should use to accomplish each of the preceding tasks..

  Write a simple java program to calculate the sum of numbers

Write a simple java program to calculate the sum of two numbers.

  Program to enter number of values to be processed

Write c++ statements to permit the user to enter n, the number of values to be processed; then assign the anonymous array of n double values, storing its address in doublPtr.

  Multidimensional arrays

multidimensional arrays to life, let's consider a specific example: How can you visualize a 4-dimensional array? How can you give meaning to each dimension this array has? What kind of application would such an array be useful for?

  Implement productinventory class from programming assignment

You will implement the ProductInventory class from Programming Assignment using a linked list to represent the product inventory. You will be provided with the following files on the Resources tab on the TRACS site.

  Object-oriented programming with vcl form

I need someone to help in my project which is windows application program. It supposed to be in program Object-Oriented Programming in C++ with VCL form.

  Find the retail price for each product

Your program should use a switch statement to find the retail price for each product - Use a sentinel-controlled loop to decide when the program should stop looping and show the final output.

  Display the array, the average and the number of days above

Write a program that stores the daily temperatures for the month of April in an array name dailytemp. Calculate the average temperature for the month and the count the number of days that the daily temperature was above the average.

  Write c program that outputs success positive float values

Look for the float.h include file on the system that hosts the C compiler that you use. What is the value for FLT_MANT_DIG, the number of significant digits that a float variable can have? Write a C program that outputs successively smaller positi..

  Write a program which adjusted bill with a sales tax

Write a program which accepts the total of food and drink purchased for a restaurant bill as input. The output should be adjusted bill with a sales tax of six percent 6% and a tip (gratuity) of 15%.

  Create a customer profile class.

a. Create a CustomerProfile class. Each CustomerProfile contains a last name, phone number, and bit fields indicating whether the customer:

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd