Hello! I would like to ask if somebody could solve this excercise for me?
Define an order()
function that announces your ice cream order.
It should take two arguments: the number of scoops and the flavor. It should return the order in this format: "Lemme get [number] scoops of [flavor]!"
It should use “scoop” when number
is 1
and “scoops” for anything greater.
I got stuck when doing the practice and there is no video explanation to this particular one.
Would be much appreciated, thanks!
Best to all of you!