c++ 1. Cards to File. Write a program to write each card in a deck of 52 playing cards to a text file. Your program shou
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
c++ 1. Cards to File. Write a program to write each card in a deck of 52 playing cards to a text file. Your program shou
c++ 1. Cards to File. Write a program to write each card in adeck of 52 playing cards to a text file. Your program should writethe rank (Ace, 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King) andsuit (Clubs, Diamonds, Hearts, Spades) of the card. Use a voidfunction to write the output. Here is the beginning of asample run of the program: