In this exercise you're working at a pizza place that delivers to customers.
You offer three types of pizzas:
- Margherita: $7
- Caprese: $9
- Formaggio: $10
Customers can also choose two additional options for a small additional fee:
- Extra sauce: $1
- Extra toppings: $2
When customers place and order, an additional fee is added if they only order one or two pizzas:
- 1 pizza: $3
- 2 pizzas: $2
These are example tasks that fit the pizza delivery exercise:
- Define the pizza types and options
- Calculate the prize of pizza
- Calculate the prize of an order
- F#: recursion (reference implementation)
- JavaScript: recursion