Program that reads a student''s name together with score

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

Write a program that reads a student's name together with his or her test scores. The program should then compute the average test scores for each student and assign the appropriate grade. The grade scale is as follows: 90-100, A; 80-89, B; 70-79, C; 60-69, D; 0-59, F.

Your program must use the following functions:

1. A void function, calculateAverage, to determine the average of the five test scores for each student. Use a loop to read and sum the five test scores. (This function does not output the average test score. That task must be done in the function main.)

2. A value-returning function, calculateGrade, to determine and return each student's grade. (This function does not output the grade. That task must be done in the function main.)

Test your program on the following data. Read the data from a file and send the output to a file. Do not use any global variables.

Use the appropriate parameters to pass value in and out of functions.

Please see attached for full question.

Attachment:- grades.zip

Reference no: EM13938744

Questions Cloud

What do you think the strongest argument : What do you think the strongest argument for free trade is, and what do you think the strongest argument against it is?
Discuss labor negotiation process between a sports league : Discuss the labor negotiation process between a sports league and a players union in the context of the contract zone and threat point framework. Describe the major milestones in the history of labor relations in the MLB. Incorporate the role of barg..
Discuss the difference between force and speed of movement : Briefly discuss the positive benefits of exercise on the brain and include how regular exercise maintains neuronal health. Discuss the difference between force and speed of movement during muscular contraction.
Prepare a flexible budget for a normal school month : Prepare a flexible budget for a normal school month. Prepare a flexible budget for October. Do you think it was worthwhile for Luis to add the additional shifts for homecom- ing weekend last October?
Program that reads a student''s name together with score : A value-returning function, calculateGrade, to determine and return each student's grade. (This function does not output the grade. That task must be done in the function main.)
Cigarette industry has negotiated with congress : Assignment 4: The U.S. Cigarette industry has negotiated with Congress and government agencies to settle liability claims against it. Under proposed settlement, cigarette companies will make fixed annual payments to government based on their historic..
Would expect severe injury to medulla oblongata cause death : After a severe blow to the head, a patient suddenly does not produce sensations of hunger and seems unable to tell if he is dehydrated. The attending physician should suspect damage to a or a lesion within what general region of the brain?
Design an eco-optimized container for fizzy drinks : The objective of the class assignment is to design an eco-optimized container for fizzy drinks using eco design tool  (CES)
Determine whether or not there is data pertaining : For each employee you are to compute the number of overtime hours worked by that employee, the salary, and the overtime pay. An employee earns straight time for the first forty hours of work, time-and-a-half for up to the first 10 hours in excess ..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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