Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

THIS IS MY HOMEWORK ASSIGNMENT. So far this is what I have. Any help is appreciated. Also what topics should I be learning to help

image text in transcribed

THIS IS MY HOMEWORK ASSIGNMENT.

So far this is what I have.

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Any help is appreciated. Also what topics should I be learning to help me with Objects and Classes? I understand the basics of objects and classes but this assignment seems very complicated for me. If there are any good youtube channels you can recommend or something I can read about thank you.

Write a program that creates a deck of cards, shuffles it, and deals cards to each of four players First display a menu, asking if user wants to shuffle, deal, or end. After each deal, display cards of each player in sorted order, followed by the location of the Club Two Lady Gaga Albert Einstein Muhammed Ali Diego Maradona Spade Ace Spade 10 Spade 5 Heart King Heart Queen Heart 10 Heart 8 Heart 4 Heart 3 Heart 2 Diamond 7 Club Jack Club 8 Spade Jack Spade 8 Spade 4 Spade 3 Heart Ace Heart Jack Heart 9 Diamond Ace Diamond 10 Diamond 3 Club 9 Club 7 Club 4 Spade 6 Spade 2 Diamond King Diamond Queen Diamond Jack Diamond 9 Diamond 8 Diamond 6 Diamond 5 Club King Club 10 Club 6 Club 2 Spade King Spade Queen Spade 9 Spade 7 Heart 7 Heart 6 Heart 5 Diamond 4 Diamond 2 Club Ace Club Queen Club 5 Club 3 Club Two-player 3 card 13 Begin with your code from the Deck of Cards Lab. Your program should have three classes, each in a separate file, with these members Card members: suit - enumerated data type for SPADE, HEART, DIAMOND, CLUB number-integer between 1 and 13 description - string containing name of card, such as Heart Ace boolean compare(Card card1, Card card2)- returns true if the card1 is 'less than' card2, false if not, using these rules 1. Regardless of card number, clubs

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

Database Concepts

Authors: David Kroenke, David J. Auer

3rd Edition

0131986252, 978-0131986251

More Books

Students also viewed these Databases questions

Question

LO4 List options for development needs analyses.

Answered: 1 week ago