![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 02.08.2019 21:20 embersongracie
Write a program that deals random cards, printing the "rank" of the card and its "suit" (both randomly generated) until you have dealt 4 aces. to select a card, you will first choose a random number from 1 - 13 which will represent the "rank" of the card. numbers from 2 through 10 can be printed just as they are. however, the number 1 should print "ace", the number 11 should print "jack", the number 12 should print "queen" and the number 13 should print "king". you will also have to select a second random number from 1 to 4 which represents the "suit". this is completely independent of the "rank" described above. (notice that each time you draw a card, it is as if it were from a fresh (undealt) deck. thus, it is possible to draw two or more "aces of spades", or two or more "3 of clubs".) at the end of the program, you should print out the number of face cards (jack, queen or king) that you dealt.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 21.06.2019 21:00, sarah192002
You should hand write your references on your resume.
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 15:00, marelinatalia2000
When a presentation is being planned, it is important to ensure that it covers all available information. appeals to the audience. uses multimedia tools. entertains the audience.
Answers: 1
You know the right answer?
Write a program that deals random cards, printing the "rank" of the card and its "suit" (both random...
Questions in other subjects:
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/en.png)
English, 20.01.2021 20:30
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/biologiya.png)
Biology, 20.01.2021 20:30
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 20.01.2021 20:30
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/en.png)
English, 20.01.2021 20:30
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/mat.png)
Mathematics, 20.01.2021 20:30