Define displayOrder
to display
the name
and price
of foodItem
,
along with its flavor.
The foodItem
will be bound to
displayOrder
using the bind
method.
displayOrder
should accept
one argument - the flavor
.
Call the bound function displayIceCreamOrder
and
pass "Chocolate"
as the argument.
Considering the foodItem
in the code below
and
for the flavor "Chocolate"
,
the bound function should be
"Your order of Chocolate Ice Cream for Rs. 50 is placed."