GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Flussdiagramm

Year 11 Programming Project - Card Game (Section 4: winner)

Laurence Wakeford Computing Year 7 Englisch

Inhalt des Flussdiagramms

  1. START

  2. INPUT player1_card, player2_card

    (parameters of subroutine)

  3. IS player1_card[0] == player2_card[0]?

  4. IS player1_card[1] > player2_card[1]?

  5. YES

  6. RETURN true

  7. YES

  8. RETURN false

  9. NO

  10. END

  11. IS player1_card[0] == "red" AND player2_card[0] == "black"?

  12. NO

  13. RETURN true

  14. YES

  15. IS player1_card[0] == "red" AND player2_card[0] == "yellow"?

  16. RETURN false

  17. NO

  18. YES

  19. IS player1_card[0] == "black" AND player2_card[0] == "yellow"?

  20. RETURN true

  21. IS player1_card[0] == "black" AND player2_card[0] == "red"?

  22. NO

  23. YES

  24. NO

  25. RETURN false

  26. YES

  27. IS player1_card[0] == "yellow" AND player2_card[0] == "red"?

  28. NO

  29. RETURN true

  30. YES

  31. RETURN false

  32. NO

Informationen

Beschreibung
Year 7 Computing Flussdiagramm am Year 11 Programming Project - Card Game (Section 4: winner), erstellt von Laurence Wakeford am 08/10/2021.
Erstellt von
Laurence Wakeford
Aufrufe
2
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck