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

  Design an online address book to keep track of the names

Use the Composition (Aggregation) to Programming it on C++. I use visual studio 2012. Using classes, design an online address book to keep track of the names, addresses, phone numbers, and dates of birth of family members, close friends, and certa..

  Program that calculate and print the parking charges

Write a program that will calculate and print the parking charges for each of three customers who parked their cars in this garage yesterday.

  Write a program that will input two arrays of information

Write a program that will input two arrays of information. Each array will contain exactly 4 floating point values. Your program will enter these values from standard input. Once the values have been read in, your program should call a function that ..

  Write program to perform add-drop-list and update functions

Write C++ program to do add, drop, list (in last name / first name sorted order or id) and update functions. separate UI from data processing use object programming method multiple files

  Write a recursive algorithm to print all of the subsets

Write a recursive algorithm to print all of the subsets for the set of the first positive integers.

  How is the execution time different and why is it different

How is the execution time different? Why is it different? How does the result change your expectations of improving performance by dividing work into threads?

  Draw the heap

Eric Rowe Starting with an empty minheap, draw the heap after each the completion of the following operations  and repeat for a maxheap (replace removeMin() with removeMax()). Upload your drawings here. Hand drawn is fine:

  Determines whether to accept an object.

Modify the implementation of the DataSet class in Section to use both a Measurer and a Filter object. Only objects that the filter accepts should be processed.

  Display a year-by-year depreciation schedule

Create GUI screen interface that accepts input and shows output and resize the GUI screen & the list box to best fit the output displayed

  Differentiate between constructor and destructor functions

(Polynomial Class) Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent.

  Problem regarding the relational algebra

A database records information about tutorials in a particular unit offering (such as ICT285 this semester). A student is supposed to attend only one of several available tutorials, each of which is taken by a tutor at a particular day and time. A..

  Write a method, to be included in a template unsorted list

Write a method, to be included in a template unsorted list class that will print (or reurn) the smallest and the largest values in the list.

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