Write program to reads student-s name with test scores

Assignment Help Programming Languages
Reference no: EM1383223

Write down a program which reads student's name together with his or her test scores. Program must calculate the average test score for each student and allot the suitable grade. Grade scale is as follows: 90-100, A; 80-89, B; 70-79, C; 60-69, D; 0-59, F. Program use the following functions:

a. Void function, calculateAverage, to find out average of five test scores for each student. Use loop to read and sum five test scores. (This function doesn't output average test score. Task should be done in function main.)
b. Value-returning function, calculateGrade, to find out and return each student's grade. (This function doesn't output grade. The task should be done in function main.)

The program requires to use following data. Read data from file and send output to a file. Do not use any global variables. Use suitable parameters to pass values in and out of functions.

Johnson 85 83 77 91 76
Aniston 80 90 95 93 48
Cooper 78 81 11 90 73
Gupta 92 83 30 69 87
Blair 23 45 96 38 59
Clark 60 85 45 39 67
Kennedy 77 31 52 74 83
Bronson 93 94 89 77 97
Sunny 79 85 28 93 82
Smith 85 72 49 75 63

Reference no: EM1383223

Questions Cloud

C value paradox : An amphibian that lives in a swamp has thirty fold more DNA than a human who lives on the forty-eight floor of luxury apartment apartment complex.
Rocket velocity as a function of time : (a) Use differentiation to find a general expression for the rocket's velocity as a function of time, (b) When is the velocity zero?
Find the magnitude of the tension in the wire : A 1360 N uniform beam is attached to a vertical wall at one end and is supported by a cable at the other end. A 1960 N crate hangs from the far end of the beam.
State your agreement or disagreement with this practice : There are pros and cons to this marketing approach. State your agreement or disagreement with this practice in 400 to 500 words using your understanding of the information presented in the lectures, text readings and other relevant sources.
Write program to reads student-s name with test scores : Write down a program which reads student's name together with his or her test scores. Program must calculate the average test score for each student and allot the suitable grade.
Discuss how the consequences of these obligations : Discuss how the consequences of these obligations might influence a company considering capitalizing itself by issuing equity
Judgment entered in favour of plaintiff charter bank : Holly Hill Acres refused to pay, claiming which it was defrauded by Rogers and Blythe. Holly Hill appealed from a summary judgment entered in favour of plaintiff Charter Bank. Decision?
What was the magnitude and direction of the initial velocity : A person looks horizontally at the edge of a swimming pool. If its length is 5.00m, and the pool is filled to the surface, to what depth (in m) could observer see? For water is 1.33).
Determinants would be for the company you chose : Using a product from one existing consumer goods company or one package foods company, describe illustrate what the determinants would be for the company you chose. Cite your sources.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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