Display the results of the golf tournament

Assignment Help C/C++ Programming
Reference no: EM132271309

Question:

The Marietta Country Club has asked you to write a program to gather, then display the results of the golf tournament played at the end of March. The Club president Mr. Martin has asked you to write two programs.

The first program will accept as input each player''s first name, last name, and golf score and then for each player, save this data in a file named golf.txt. Please note, there are 16 players in the tournament so you will need to save data for 16 different players in the text file.

The second program will read the data for each player from the golf.txt file and display them with appropriate headings above the data being displayed. Additionally, the second program will determine and mark each player as being either over, under, or at par.

If the score is = Par, then display ''Made Par''

If the score is < Par, then display ''Under Par''

If the score is > Par, then display ''Over Par''

There are 16 players in the tournament. Par for the course is 80. The data is as follows:

Andrew Marks 72

Betty Franks 89

Connie William 92

Donny Ventura 78

Ernie Turner 81

Fred Smythe 75

Greg Tucker 72

Henry Zebulon 83

Ian Fleming 72

Jan Holden 84

Kit Possum 79

Landy Bern 93

Mona Docker 98

Kevin Niles 80

Pam Stiles 87

Russ Hunt 73

REMEMBER to put your name on the lab with comments, and comment throughout the program with what the program is doing.

Reference no: EM132271309

Questions Cloud

Explain photos either with text explanations or voiceover : Each student will display and explain the photos either with text explanations or voiceover. PowerPoint is the recommended format, but more creative solutions.
How do contingencies affect leadership : How do contingencies affect leadership? Discuss the factors that shape culture in HCOs.
Create a short presentation that will help a target audience : Imagine you are working as a cognitive psychologist who specializes in visual perception. In this role, you are assigned to create a short presentation.
Most important responsibilities of governing board : Discuss what you believe are the most important responsibilities of a governing board.
Display the results of the golf tournament : write a program to gather, then display the results of the golf tournament played at the end of March. The Club president Mr. Martin has asked you to write two
Compare and contrast radical change and incremental change : Compare and contrast radical change and incremental change. Discuss how nonverbal communication is important for managers.
How the idea of nature and nurture could put an end : In a minimum of 350 words, explain how the idea of "nature and nurture" could put an end to the long-term debate of "nature or nurture?"
Contrast planning at higher levels of an HCO with planning : Compare and contrast planning at higher levels of an HCO with planning at lower levels.
What are some potential parenting challenges : In a minimum of 350 words, what are some potential parenting challenges that may arise between parents who have significantly different attachment experiences.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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