Determine bowler had highest average and print name

Assignment Help Programming Languages
Reference no: EM1353483

You are the official score keeper for the "C" Bowling Association (CBA). You should write a program that will:

A. Input bowler's name and three (3) scores (0-300 range).

B. Calculate average for that bowler.

C. Assign stars to that bowler based on the following scale:
avg > = 200 - 4 stars
avg 170 to 199 - 3 stars
avg 125 to 169 - 2 stars
avg 100 to 124 - 1 star
avg < 100 - no stars

D. Output the bowlers name, avg. and number of stars earned.

Your program must be able to process any number of bowlers. (Use at least 10 sets of data).

E. Discover which bowler had the highest average and print out their name and average.

F. Calculate and output the average of all the bowlers.

Reference no: EM1353483

Questions Cloud

Calculate the expected return of portfolio : Assume you have a portfolio that consists of stock A and B. The total value of your portfolio is $150,000. Out of the total rates, $97,500 was invested in stock B and the rest in stock A.
Influence of commercials on culture : What is the influence of television commercials on American culture and if you could do something about TV commercials what would you do?
Relationship between organizational culture and risk : When an organization decides to commit to a risk aware culture and encourage a collective effort - the relationship between organizational culture and risk
Trait theory and the nature of personality : This posting focuses on trait theory and the nature of personality. This description details what a trait is, how it is different from a state, as well as two perspective to understanding traits.
Determine bowler had highest average and print name : Output the bowlers name, avg. and number of stars earned. Discover which bowler had the highest average and print out their name and average.
Setting price by marking up cost inherently circular : RoverPlus, a pet superstore, is planning pricing a new RoverPlus labeled dog food. The company will purchase premium dog food from a company in Indiana that packs product with a RoverPlus label.
Express the number of photons numerically : assume that the microwave radiation has a wavelength of 11.2 cm. How many photons are required to heat 235 mL of coffee from 25.0 ^circ rm C to 62.0 ^circ rm C.
Explain employment relations in australia : Explain employment relations in Australia and the recent victory of the Coalition Government
Managing or changing organizational culture : Managing or Changing Organizational Culture - Show the importance of managing and/or changing organizational culture to promote high performance in an organization.

Reviews

Write a Review

 

Programming Languages Questions & Answers

  Use of various bash commands

Assignment On: This work will require scripting the use of various bash commands and / or small programs that involve directory and file structures.

  Program to use next character to create and return operator

Convert the string of digits into an integer. Otherwise, use the next character to create and return an operator.

  Html/css

"Validating Your Work" Please respond to the following:  Describe attribute minimization. Explain what would happen if you tried to validate a page containing instances of attribute minimization. Propose a solution to this problem.

  Write code for invoking method named sendtwo

Write the code for invoking a method named sendTwo. There are two arguments for this method: a double and an int.

  Explaining data-driven multicast routing paradigm

The data-driven multicast routing paradigm works best on local networks that have low delay and excess capacity, while the demand driven paradigm works best in a wide are environment.

  Writing application to accept loan amount-interest rate

Write down the application to accept a loan amount, annual interest rate, and loan period (in number of years) and displays a table with five columns.

  Sql statements coded as transaction

Write a set of 3 SQL statements coded as transaction to reflect following change: United Parcel Service has been purchased by federal Express Corporation.

  Create a class uses a 25-element array of digits

Create a class HugeInteger which uses a 25-element array of didgits to store integers as large as 25 digits. Provide services inputHugeInteger, otputHugeInteger.

  Definition of function quadratic receives double parameters

Write down definition of function named quadratic which receives 3 double parameters a , b , c . If value of a is 0 then function prints the message "no solution for a=0"

  Methods to declare and initialize one dimensional arraay

What is an array? Show different methods to declare and initialize one dimensional array. Draw how an integer array of 6 elements having base address 5001 is stored in memory.

  Implementing class called card for standard playing card

Design and implement a aclass called Card that represents a standard playing card. each card has a suit and a face value.

  Designing system to handle donations of non-profit agency

You have been hired by worldwide non-profit agency to create a system to handle their donations.

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