Pack of playing cards answer

Karl Taylor
Flowchart by , created about 2 years ago

AS - Level Computing Science Flowchart on Pack of playing cards answer, created by Karl Taylor on 06/05/2017.

9
0
0
Tags
Karl Taylor
Created by Karl Taylor about 2 years ago
Chapter 2
Karl Taylor
Chapter 1
Karl Taylor
Computer Graphics Chapter 1
Sophia Angus
Physics - Energy, Power & Work
dominique22
Using GoConqr to learn Spanish
Sarah Egan
Computers in the Military
JTaylor
Computing in the Modern World
JTaylor
Chapter 4
Karl Taylor
N5 Computing Science
Mr. McNeice
JOOSE2 Design Patterns
Isaac Jordan

Flowchart nodes

  • Start
  • Are there any cards left that have not been sorted?
  • Add the card to the pile of clubs
  • Is the top card clubs?
  • Is the top card spades?
  • Is the top card hearts?
  • YES
  • YES
  • YES
  • YES
  • NO
  • NO
  • NO
  • NO
  • Add the card to the pile of spades
  • Add the card to the pile of hearts
  • Add the card to the pile of diamonds
  • End