# Hello i just need a help in this c++ program please 4.10 Assignment Part 1: Deck...

###### Question:

Hello i just need a help in this c++ program please

4.10 Assignment Part 1: Deck of Cards In this lab you will write a program that will list certain cards from a standard deck of playing cards. The program should begin by prompting the user for a "match word' and reading in that choice. If the match word is ".", the program should print out the names of all 52 cards from the deck Suits listed in this order. Clubs, Hearts, Spades, Diamonds. Ranks within each suit:Ace, Two, Three,.., Nine, Ten, Jack, Queen, King If the match word is the name of a suit or the name of a rank then the program should output only the names of cards that match For example, if the user entered "Queen", then just the four queens would be listed. If the user entered "Clubs", then just the thirteen club cards would be listed. If the word entered by the user matches neither suit nor rank, the program should report "(no matches)". The list of cards should start and end with a "line" of 20 dashes. Here is the output of some sample runs Enter match word for match all): Jack Jack of clubs Jack of Hearts Jack of Spades Jack of Diamonds Enter match word "..for match all): Three Three of Clubs Three of Hearts Three of Spades Three of Diamonds

#### Similar Solved Questions

##### What are the vertex, focus and directrix of  y=2x^2 +11x-6 ?
What are the vertex, focus and directrix of  y=2x^2 +11x-6 ?...
##### Green Valley Company prepared the following trial balance at the end of its first year of...
Green Valley Company prepared the following trial balance at the end of its first year of operations ending December 31. To simplify the case, the amounts given are in thousands of dollars. UNADJUSTED Debit Credit 34 31 26 93 27 Account Titles Cash Accounts receivable Prepaid insurance Machinery Acc...
##### Please answer 5, 6, 7, 8, 9, 10. 5.5. Consumer finance. The data below show, for...
Please answer 5, 6, 7, 8, 9, 10. 5.5. Consumer finance. The data below show, for a consumer finance company operating in six cities, the number of competing loan companies operating in the city (X) and the number per thousand of the company's loans made in that city that are currently delinquent...
##### Where p denote the population mean of the original random variable 5.7 Problems . Assume X is a n...
where p denote the population mean of the original random variable 5.7 Problems . Assume X is a normally distributed random variable with mean u and stan- dard deviation σ. A sample of size n-5 from this distribution is given as 1. Assume we are interested in the properties of the mean of the ...
##### A capacitor with an initial potential difference of 122 V is discharged through a resistor when...
A capacitor with an initial potential difference of 122 V is discharged through a resistor when a switch between them is closed at t = 0 s. At t = 10.0 s, the potential difference across the capacitor is 1.68 V. (a) What is the time constant of the circuit? (b) What is the potential difference acros...
##### The question says to calculate net income for 2018 using total equity amounds from the two...
The question says to calculate net income for 2018 using total equity amounds from the two years. The equity for 2017 is $208,780 and the equity for 2018 is$314,671. I got all of the numbers correct except for net income, so please help me find the correct number. HP JUVEEL Submit Ek my work mo...
##### The spherical surface r = 1 m, 2 m and 3 m carry surface charge densities...
The spherical surface r = 1 m, 2 m and 3 m carry surface charge densities of 20, -9 and 17. 2 nC/m2 respectively Calculate the electric flux leaving through the surface r 5 m а. Find electric flux density at P (1, -1, 2) b. Four charges are located at the vertices of a rectangular plane shown ...
##### Trying to write this in java code but I'm running into a lot of errors. package...
Trying to write this in java code but I'm running into a lot of errors. package receipt; public class Receipt {    {          int quantity=2, tax=7,i;    String item="0010", description="Paper";    double amt=1.99, amoun...
##### The beam AC is simply supported at A and C and subjected to the uniformly distributed...
The beam AC is simply supported at A and C and subjected to the uniformly distributed load of q=300 N/m plus the couple of magnitude M=2700 N·mas shown. Draw shearing force and bending moment diagrams of the beam. Show all the work leading to the diagrams. [35 marks] q L D B CO -3m-1-3----3m-...
##### No. DATE ota ject is placeotara certain diyrances an erect e 4tumes tho size oF the...
No. DATE ota ject is placeotara certain diyrances an erect e 4tumes tho size oF the ceb...
##### Please help me do all question , i need it by 5 PM 2. Given the...
please help me do all question , i need it by 5 PM 2. Given the following, what is the amount of Capital? Assets: Premises $20,000; Inventory$8,500; Cash $100. Liabilities: Accounts payable$3,000; Loan from A.Adams $4,000$21,100 b. $21,600 c.$32,400 3. d. $21,400 A debit balance of$100...
##### <div class=""><p>2. Half-life is the time required for half of an amount of a particular compound to degrade (see table below). The half-life of DDT in the soil is from 2 to 15 years, and the half-lif...
2. Half-life is the time required for half of an amount of a particular compound to degrade (see table below). The half-life of DDT in the soil is from 2 to 15 years, and the half-life of DDT in an aquatic environment is 150 years. 1 half-life 50% degraded 2 half-lives 75% degraded 3 half-liv...
##### Topic 2.8 Respirometers Name 1 The oxygen consumption rate of the fish Oplegnathus insignis was examined...
Topic 2.8 Respirometers Name 1 The oxygen consumption rate of the fish Oplegnathus insignis was examined in a respirometer at three different water temperatures and at four different body masses. Computer used to record oxygen Water supply Oxygen meter Respirometer Water out 400 Key 23°C --- 18&...