Diagrama de flujo
Sin título
Contenido del diagrama
Start
Input
name
input
filmName
input
childTickets
Input
adultTickets
input
OAPTickets
childPrice = childticket * 3.50
adultPrice = adultTickets * 7.50
OAPPrice = OAPTickets * 5.50
totalPrice = childPrice + adultPrice + OAPPrice
Is totalPrice
> 40?
Yes
Is totalPrice
> 30?
No
finalAmount= totalCost * 0.75
Is totalPrice > 20?
No
finalAmount = totalCost * 0.8
Yes
Output
finalAmount
finalAmount = totalPrice * 1
No
finalAmount = totalCost * 0.9
End
Yes
Información
- Descripción
- Diagrama sobre Sin título, creado por Adam Donachie el 07/12/2022.
- Creado por
- Adam Donachie
- Visitas
- 0
- Valoración