Write a Java code for the following program Suppose there is an ice-cream parlor named Icethunder and having a branch in

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write a Java code for the following program Suppose there is an ice-cream parlor named Icethunder and having a branch in

Post by answerhappygod »

Write a Java code for the following program
Suppose there is an ice-cream parlor named Icethunder and having
a branch in new york and another in Texas. Both these branches
offer the same flavor of ice cream (vanilla, strawberry, and mango)
but the new york branch does not offer a dine-in facility (only
take-away). The Texas branch has recently established its franchise
in Mason University texas. For marketing purposes, the Mason
university branch is offering its all-unique Enchanted flavors with
a mix of chocolate in it.
The owner of the ice-cream parlor wants a computerized system of
order placing and keeping a record of daily total orders in all the
branches. You have to develop a menu-driven application in which a
person can order a maximum of 3 cups at a time. Write a test code
for texas main branch for a single person, new york branch for two
persons, and mason university texas branch for three persons and
return the total number of ice-cream cups sold in a day.
Hint: Each ice cream cup contains a single scoop of only one
flavor. Date, time, branch name, and ice-cream flavor should be a
common variant of all scenarios. Set dine-in/takeaway to be true or
false for every order. For placing the order, a number of
scoops/flavors depicts the number of cups ordered. The orders
placed in mason University texas must have a chocolate mix without
the customer’s request.
Example: Placeorder(Mango, Strawberry) should print “Order placed
for mango and strawberry flavor”
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply