Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C# Create a program to keep track of poker statistics. The program will store the amount of winnings per week for 8 weeks. If

In C# Create a program to keep track of poker statistics. The program will store the amount of winnings per week for 8 weeks. If a player doesnt play any of those 8 weeks, his winnings for those weeks would be 0. Your program will allow for adding new players, updating existing players, and will sort the players based on their total winnings. Create a Person class that includes social security number, first and last name. Create a Location class that includes Casino name and State. Create a Winnings class that includes the amount of winnings for 8 weeks (if a player doesnt play for a week, he gets a 0) and a total winnings amount. Your program should ask the user for the data (person, location, and winnings). After getting the data, the program should search the file (by ssn) to make sure that player isnt already in the file. If the player is already in the file, his/her record should be removed and the new data should be written to the file instead. If the player isnt in the file, his/her record should be written at the end of the file. The user should be able to sort the records on the total winnings amount and display a list of all players in sorted order.

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

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

Students also viewed these Databases questions