subject

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

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 10:30, araminaara691
How can a user open a blank presentation? 1.on the file menu, click new, and then click recent templates 2.on the file menu, click new, and then click blank presentation 3. on the view menu, click templates, and then click recent templates 4. on the view menu, click samples, and then click blank presentation
Answers: 1
image
Computers and Technology, 22.06.2019 13:30, ashleypere99
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
image
Computers and Technology, 24.06.2019 20:10, austinwst3
Approximately what portion of global employers tends to use social media websites to hire new employees?
Answers: 1
image
Computers and Technology, 24.06.2019 22:00, kingkush85
Difference between ancient and modern mode of information transmission
Answers: 1
You know the right answer?
The Marietta Country Club has asked you to write a program to gather, then display the results of th...

Questions in other subjects:

Konu
Mathematics, 10.06.2021 20:30
Konu
Mathematics, 10.06.2021 20:30
Konu
Mathematics, 10.06.2021 20:30