Write program to reads student-s name together with score

Assignment Help Programming Languages
Reference no: EM1361324

2. Write a program that reads a student's name together with his or her test score. The program should then compute the average test score for each student and assign the appropriate grade, A, B, C, etc. Your program must use the following methods:

a. A value-returning method average, to determine the average of the five test scores for each student.
b. A void method displayGrade, to display each student's grade to the file.
c. Test your program with the following data. Read the data to a file and output to a file.

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: EM1361324

Questions Cloud

What would be best decision based on maximax criterion : What would be the best decision based on the maximax criterion and what would be the best decision based on the maximin criterion?
Determine yield to maturity and bond price : Many years ago, Castles in the Sand, Corporation issued bonds at face value at a yield to maturity of 7%. Now, with 8 years left until the maturity of the bonds, the corporation has run into hard times and the yield to maturity on the bonds has incre..
Understanding of potential society-level interventions : Your ability to critically evaluate the importance of childhood injuries as a health issue and your understanding of potential society-level interventions;
What was the bullets speed as it left the barrel : What was the bullet's speed as it left the barrel. A 1kg block rests against one end of a horizontal spring which is compressed by 10 $cm$.
Write program to reads student-s name together with score : Write a program that reads a student's name together with his or her test score. The program should then compute the average test score for each student.
Elucidate what could be done to encourage people to spend : Elucidate what could be done to encourage people to spend more so as to increase aggregate demand and, invariably, create employment possibilities.
Converting inputs to outputs: activities : Converting Inputs to Outputs: Activities - Refer to an interconnected set of activities that converts inputs to outputs.
Diagnosing cvd patients : I need assistance comparing and contrasting new and applied research techniques currently being used to better understand and diagnose CVD patients in the hope of identifying and developing treatment protocols
Calculate the work done on the tool : A 21 kg sled is being pulled across a horizontal surface at a constant velocity. The pulling force has a magnitude of 80.5 N and is directed at an angle of 30° above the horizontal. Determine the coefficient of kinetic friction.

Reviews

Write a Review

Programming Languages Questions & Answers

  Create class to calculate perimeter and area rectangle

Create class Rectangle. The class has attributes length and width, each of which defaults to 1. It has read-only properties that calculate the Perimeter and the Area of the rectangle.

  Design pseudocode to enter names of two primary colors

Design a pseudocode program that prompts the user to enter the names of two primary colors to mix. If the user enters anything other than "red", "blue", or "yellow".

  Write program to match master and transaction methods

When writing a program to match master and transaction methods, what should happen when the value of the master key is equal to the transaction key?

  Characteristics used for biometric user authentication

You have just been promoted to manager of computer security for large enterprise (XYZ Corporation). Your first project as security manager is to estimate principal physical characteristics used for biometric user authentication.

  Show how the tree might be type-checked

Attempt to derive proof tree for the judgment Show how the tree might be type-checked

  Creating webpage using css

In creating a web page, depending on the information you are trying to convey. What are CSS?

  Program read weight of package of breakfast cereal in ounces

Write a program which will read the weight of package of a breakfast cereal in ounces and output weight in metric tons as well as number of boxes

  Use-professional translator in creting website-other country

When and why would you need to use the services of a professional translator to help prepare your website for an audience in another country?

  Develop logic to accept number of passengers-zones as input

Develop the logic for a program that accepts the number of passengers and zones crossed as input. the output is the ticket charge.

  Define four user-defined exceptions

You will need to define four user-defined exceptions; one for unknown movies, one for unknown member, one for unknown payment method.

  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 enter up to 20 integers in the array of long

Write down a program which asks user in order to enter up to 20 integers in the array of longs.The program must utilize the function Find_It() in order to situate the integer within the array.

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