A cookie recipe calls for the following ingredients: 1.5 cups of sugar 1 cup of
Fantastic news! We've Found the answer you've been seeking!
Question:
A cookie recipe calls for the following ingredients:
• 1.5 cups of sugar
• 1 cup of butter
• 2.75 cups of flour
The recipe produces 48 cookies with this amount of ingredients. Write a program that asks the user how many cookies they want to make and then displays the number of cups of each ingredient needed for the specified number of cookies in the following format:
You need 5 cups of sugar, 3 cups of butter, and 7 cups of flour.
Related Book For
Posted Date: