Question: please complet in java Write an ice-cream store application that asks the customer a flavor of ice-crearn (cach has a different price), how muny scoop,

please complet in java please complet in java Write an ice-cream store application that asks the

Write an ice-cream store application that asks the customer a flavor of ice-crearn (cach has a different price), how muny scoop, a bill used to pay for this ice-cream, and find the correct change. (A) An array of Strings for Flavors of lce-cream, called favors_XXX, and initialize the values to 6 flavors: Vanilla, Chocolate, Strawberry, YOUR_FLAVOR1, YOUR_FLAVOR2 and YOUR_FI.AVOR3. Pick 3 of your favorite ioe-cream flavors (cannot be the same as the first 3 flavors) (B) An array of double for cost of each flavor per scoop, called cests_XXX (in respect to the above order), and initialize to these values: 50.75,$0.95,$1.39,51.50,$1.25 and 51.29. You MUST use the following variable names (where XXX is your initial first-middle-last) aFlavor_XXX = an integer variable, representing the ice-cream flavor you order noScoop_XXX = an integer variable, representing a number of ice-cream scoops you order aCost XXX = a double variable, representing a cost of ice-cream per scoop, based on ice-cream flavor iCost_XXX = a double variable, representing a total cost of ice-eream, i.e., aCost " noScoop aBill XXX = an integer variable, representing a bill that you use to pay for this ice-cream cone aChange_XXX = a double variable, representing a change after paying for this ice-cream cone

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!