0

How to solve

Problem 1: Ingredient Adjuster 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.00 cups of sugar, 3.00 cups of butter, and 7.00 cups of flour. The amounts should be formatted to two decimal places

10th Sep 2018, 2:24 AM
lourdes pinder
lourdes pinder - avatar
1 RĂ©ponse
+ 2
it is quite obvious that you are asking for answers for your school assignments... kindly post your own attempts before asking for help https://www.sololearn.com/Discuss/1495334/?ref=app https://www.sololearn.com/Discuss/1495337/?ref=app
10th Sep 2018, 5:59 AM
Hanz
Hanz - avatar