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.

Your application must include the following:

Constructors

Delegate

Arrays

Abstract Class or Interface

Exception Handling

Static Data Members

Overloaded Operator or overridden method

MessageBox

Inheritance

Data Validation

File Input/Output

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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions