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

  Program to display only unique values which user entered

Program to display only the unique values which the user entered. Give for the "worst case" in which all 20 numbers are different. use smallest possible array to solve this problem.

  Advantages and disadvantages for windows login

The Windows login can be a user or a group with users defined to the group. What do you think the advantages and disadvantages are for each type?

  Write program to compute integer part of quotient

Write program segments that accomplish each of the following: Calculate the integer part of the quotient when integer a is divided by integer b.

  Write program to accept number from user-fibonacci series

Write a program that accepts a number 'n' from the user and generates Fibonacci series till n (Fibonacci series starts with 0 and 1.

  Write program asks user to enter temperature

Write a program that asks the user to enter a temperature, and then shows all the substances that will freeze at that temperature and all the substances that will boil at that temperature.

  Design a program written psuedocode enter total rainfall

Design a program WRITTEN IN PSUEDO CODE that lets the user enter the total rainfall for each of 12 months into an array.

  Identify components that perform distinct service

Identify components that perform a distinct service. Although the details can be quite complex, these details are the basic principles of object-oriented programming

  Write script to get gross sales for each employee by xhtml

Use a one-dimensional array to solve the folloing problem: Write a script (using an array of counters) that obtains the gross sales for each employee through an XHTML form and determines how many of the salespeople earned salaries

  Questions on programing problem with the process of analysis

Questions on Programing Problem with the process of analysis and reflection that went on as you developed the project.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write a program using binary search approach

Write a program using binary search approach

  Initialize elements of array with even integers

declare an array called values of type unsigned int with 5 elements. Initialize the elements of the array with the even integers from 2 to 10.

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