How many scores they will enter

Assignment Help Programming Languages
Reference no: EM13718071

Because all users may not have 10 scores and we want to keep the scores they entered for use at a later date, the above program will have to be modified to add a menu that lets the user decide how many scores they will enter, and a process to save the scores to a file. Set up a menu that will ask the user to enter a score, slope and rating, or to enter 0 for the score when they are done.

The program will then need to check for a value of 0 entered by the user to exit the input loop.

You will need to increment a counter each time the user does not enter 0 so that you know how many entries they have made.

Prior to the loop you previous created to populate the array, add logic to create a new file with the user's name as the file name. Within the loop you previously created to populate the array, add logic to save each score to the user's file. Once the user enters a 0 you will exit the loop, close the file and execute the code as previously designed until you have displayed all of the scores and the average handicap.

Extra Credit: Add logic to the program to search for an existing file with the user's name. If you find the file, welcome the user back and then add the new scores to the existing file. If you don't find a file with the user's name, welcome them to the program and create a new file.

Reference no: EM13718071

Questions Cloud

What is odontology : Explain in detail how the following will be used in facial reconstruction: Odontology What is odontology? How is this process used in facial reconstruction?
Recognize the elements and correct use of thesis statement : Recognize the elements and correct use of a thesis statement - Write a research proposal that states the claim and scope of the research project.
How long has nasa been studying plants in space : How long has NASA been studying plants in space? How do plants grow in space defer from being grown on earth?
The virulence and pathogenicity of streptococcus pneumoniae : Design an experiment to increase the virulence and pathogenicity of Streptococcus pneumoniae (Hint: S. pneumoniae that is transferred for several passages in vitro loses its capsule and virulence for mice.) Would an increase in virulence confer..
How many scores they will enter : Because all users may not have 10 scores and we want to keep the scores they entered for use at a later date, the above program will have to be modified to add a menu that lets the user decide how many scores they will enter
Continuous with built-up edge and discontinuous : Which one of the four types of chip would be expected in a turning operation conducted at low cutting speed on a brittle work material: (a) continuous, (b) continuous with built-up edge, (c) discontinuous, or (d) serrated.
What is the price of the option if it is a european call : What will be your profit/loss on this position if Dell is selling at $42 on the option maturity date and what will be your profit/loss on this position if Dell is selling at $38 on the option maturity date?
The amount of entropy produced within the tank : A 2.64 kg copper part, initially at 400 K, is plunged into a tank containing 4 kg of liquid water, initially at 300 K. The copper part and water can be modeled as incompressible with specific heats of 0.385 kJ/kg. K and 4.2 kJ/kg. K, respectively.
The net work developed per cycle and thermal efficiency : 1 kg of a gas in a piston-cylinder assembly undergoes a Carnot power cycle for which the isothermal expansion occurs at 800 K. The change in specific entropy of the gas during the isothermal compression, which occurs at 400 K is -25 kJ/kg. K.

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