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

  Executive committee for alleviating it complexity

You are a consultant brought in by the executive committee to make recommendations for alleviating the "IT complexity" concerns of the executives at the company.

  Program to output circle-s radius-diameter-circumference

Write a program to prompt the user to enter center and a point on circle. Program must then output circle's radius, diameter, circumference, and area.

  Program that will help user with metric conversions

Write a program that will help the user with metric conversions. Your program should allow the user to specify the names of the units as strings (e.g., centimeters, liters, grams, for the metric system and inches).

  Write a script to declares and sets variable

Write a script that declares and sets a variable thats equal to the total outstanding balance due. If that balance due is greater than $10,000.00.

  Design interactive program using prewritten methods

Design an interactive program that does the following, using the prewritten methods whenever they are appropriate. Prompt the user for and read a library card number, which must be between 1000 and 9999.

  Write a program that takes one command-line argument

Write a program called runsim that takes one command-line argument. Check for the appropriate command-line argument and output a usage message if the command line is incorrect.

  Create new method for random turning

Create new method named randomTurn (this method has no parameters and returns nothing). Select the code that does the random turning.

  Create math sorting game using visual basic studio

using visual basic studio 2010, Create math sorting game. Random number between 1 and 99 will be generated and displayed to the user.

  Program-visual basic to compute tips for services rendered

Write a program in Visual Basic 2010 to compute tips for services rendered. The program should request the person's occupation, the amount of the bill and the percentage tip

  Define function that takes year as it-s input argument

Define and call a function fast_food_billions that takes the year as it's input argument and returns the prediction as it's result. Tell the user that entry of a year before 2005 will cause the program to stop.

  Compute the product xy

Given two integers X and Y compute the product XY (multiplication), the quotient X=Y (integer division), and the modulus X (mod Y) (remainder).

  Create a java application for employee class

Create a Java application, that support the following:- Create an Employee class, which holds following information: Employee First Name, Employee Last Name.

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