# Coffee N Roll is a small-town Sandwich Shop in rural Australia. The population is small so the…… 1 answer below »

Problem Description
Coffee N Roll is a small-town Sandwich Shop in rural Australia. The population is small so the Sandwich Shop
sells only a small but select gourmet products. It sells five products only. Each product has a name and price.
The programming team require to demonstrate basic Java programming techniques, specifically using classes
and objects. The aim of this assignment is to develop a top-down design and to write a program to be used as a
cash register by the Coffee N Roll Sandwich Shop.
The assignment is composed of two parts. In Part 1, you are to write a Command Line Interface (CLI) cash
register application and in Part 2 you create a Graphical User Interface (GUI) for the same cash register.
Part 1 Application Requirements
For our Java program simulation, a purchase transaction is sale and payment of a single product. For each sale,
the program should prompt and get a numbered item corresponding to the product name and quantity of product
purchased. The total cost of the purchase should be calculated and displayed. Then the program should ask the
amount of money paid bythe customer. The calculated change will be displayed in dollars and cents as well as
the currency denominations in banknotes and coins needed to make up the change in the most efficient way
For example, if the amount of change is \$17.35 than the customer would be given 1 ? ten-dollar banknote, 1 ?
five-dollar note, 1 ? two-dollar coin, 1 ? twenty-cent piece, 1 ? ten-cent piece, and 1 ? five-cent piece.
At the end of the day the cashier enters Done to end the simulation. The program should then display the total
amount of sales in each of the five categories and terminate. The five product menu is shown if Figure 1.

NEED HELP WITH SUCH A TASK? WE HAVE THE BEST TUTORS FOR YOU. ORDER NOW FROM 10\$/PG