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 java program which declares the array alpha

Write the Java program which declares the array alpha of 50 elements. Initialize array so that first 25 elements are equal to square of the index variable and the last 25 elements

  Write program that takes input arithmetic expression

Write a program that takes as input an arithmetic expression. The program outputs whether the expression contains matching grouping symbols.

  Specific changes made for different countries-sites directed

Why were these specific changes made for different countries at whom the sites were directed? Is there anything else you would consider changing.

  Program to retrieve records based on last name-first name

Customer service representatives wish to be able to retrieve records based on Last Name + First Name, Product Number, or State fields. Write down steps involved in your analysis of this problem?

  Create class to store the product name

Choose a fruit or vegetable product that you might commonly find at the farmers market (for example, tomatoes, potatoes, lettuce, apples, cantaloupes, etc). Create a class that stores the product name.

  Create program to keep track of game collection

You wish to create a program which will keep track of the game collection at home. The program must recognize the platform.

  Build a student record managing system application

Build a student record managing system application

  Explaining handles clause of sub procedure

You are asked to design a form with a textbox named txtQty, a label named lblStatus, and a button named btnGetStatus. What will be Handles clause at the end of sub procedure?

  Create new program which prompts user for numbers

Create a new program whihc prompts a user for numbers and determines total revenue using following formula: Total Revenue = Price * Quantity.

  Computing average net profit per sale of product

Your company bought 250,000 online advertising impressions and made average net profit per sale of product of $5.

  Write program for department of motor vehicles

Department of motor vehicles has finally decided to computerize its list of licensed drivers. Program you write must make use of existing file call Licenses with records of given form. Name, License Number

  Write a bash shell script prompt user to enter first name

Write a Bash shell script named phone.bsh that prompts the user the to enter first or last or any portion of person's name, so that can be found the appropriate entry in the phone directory file.

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