Advertisement
akosiraff

Golf Project

Jun 12th, 2014
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/golf-project/
  3. Write a GUI-based program that analyzes a round of golf. You will retrieve the data for 18 holes from a text file. On each line in the file will be the par for that hole (3, 4, or 5) and your core for that hole should be displayed in a label. Provide buttons for the following:
  4. • On button, when clicked, displays whether your overall score was over par, under par, or par
  5. • Another button, when clicked, displays the number of holes for which you made par
  6. • Another button, when clicked, displays how many birdies you scored ( a birdie on a hole is 1 under par)
  7. For this, you should design and code a separate (non-gui) class encapsulating the analysis, then instantiate an object of that class inside your GUI class and call the various methods as needed.
  8. Download: http://solutionzip.com/downloads/golf-project/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement