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

  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