Question: please help I really don't understand how to start this program. My professor tells me to Make sure to use constants. Use command line for

please help I really don't understand how to start this program. My professor tells me to "Make sure to use constants. Use command line for both input and output". this is in java and I need to use eclipse. so please help step by step.please help I really don't understand how to start this program. Myprofessor tells me to "Make sure to use constants. Use command line

15. 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 these amounts of the ingredients. Write a program that asks the user how many cookies he or she wants to make, then displays the number of cups of each ingredient needed for the specified number of cookies. FC *Ingredientadjuster.java X package ingredientadjuster; Z public class Ingredientadjuster 3 { final double CUPS_OF_SUGAR_= 1.5; 5 final double CUPS_OF_BUTTER = 1; 6 final double CUPS_OF_FLOUR = 2.75; int REGULAR_BATCH_OF_COOKIES = 48; int USER_NUMBER_OF_COOKIES; public static void main(String[] args) { 10 System.out.println(" How many cookies would he or she want to make ? "); 10 12 13 14 } 15 9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!