Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 input each player's first name, last name, handicap and golf score and then save these records in a file named golf.txt (each record will have a field for the first name, last name, handicap and golf score).

The second program will read the records from the golf.txt file and display them with appropriate headings above the data being displayed.

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 11.2 - 72

Betty Franks 12.8 - 89

Connie William 14.6 - 92

Donny Ventura 9.9 - 78

Ernie Turner 10.1 - 81

Fred Smythe 8.1 - 75

Greg Tucker 7.2 - 72

Henry Zebulon 8.3 - 83

Ian Fleming 4.2 - 72

Jan Holden 7.7 - 84

Kit Possum 7.9 - 79

Landy Bern 10.3 - 93

Mona Docker 11.3 - 98

Kevin Niles 7.1 - 80

Pam Stiles 10.9 - 87

Russ Hunt 5.6 - 73

*This must be run on Python with no additional programs, please include screenshots of output, thank you!*

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

More Books

Students also viewed these Databases questions