Diagrama de flujo
Sin título
Contenido del diagrama
Start
Ask user to input
cost of 1 drink
Ask user to input
cost of 1 meal
Calculate cost for 1 day as 2*drink + meal
Calculate total cost as 1 day * 5
Display total cost
End
Start
Count = 0
Total = 0
Count =
Count + 1
Total =
Total + Count
Is Total
> 500?
Display
Count
End
No
Yes
Start
Ask visitor how
much they want
to put on
their card
Update balance
Visitor inserts
their card into
a ride
Is cost of
ride < balance
on card?
Display current
balance
and message
'Not enough for
this ride - need
to top up'
No
Update balance
Display new
balance and
open barrier
Yes
Información
- Descripción
- Diagrama sobre Sin título, creado por Thomas Salter el 05/11/2020.
- Creado por
- Thomas Salter
- Visitas
- 2
- Valoración