Diagrama de flujo
Code Challenge Flow Chart
Contenido del diagrama
Start
set money to 5.00
Do you want to play?
Is money > = 0.20?
Output: money
money = 0
dice_1 = 0
dice_2 = 0
dice_3 =0
End
Output: Not enough money
End
dice_1 to random number between 1 and 6
dice_2 to random number between 1 and 6
dice_3 to a random number between 1 and 7
is dice_1 = dice_2 = dice_3?
money = money +3
output "You have won £3"
is dice_1 = dice_2 or dice_3
is dice_2 = dice_3
money = money +2
Output = "You have won £2"
output: "you have"money
Output: "Would you like to play again?"
Play again Y or N
End
NO
Yes
No
Yes
Yes
No
Yes
No
Yes
No
Yes
Información
- Descripción
- GCSE Computing Diagrama sobre Code Challenge Flow Chart, creado por Charlotte Hilton el 21/02/2017.
- Creado por
- Charlotte Hilton
- Visitas
- 214
- Valoración