1 A Fast-Food Restaurant Menu System

Imagine that you are asked to write code to support an automated system for taking fast-

food restaurant orders, and to implement this for a particular fast-food restaurant of your

chosing. The main class RestaurantProg runs a simple interactive interface for a user: to

see menu items available to them at your fast food restaurant; to select one or more menu

items and add them to their order; and to see a running total price of their order, which

1

accounts for any discounts. Initially, RestaurantProg will only print a menu to screen. Until

you complete Section 2, you do not need to edit RestaurantProg. When you get to Section

3, you should uncomment the remaining code in RestaurantProg.

You have also been given a class Prices which gives you a simple way of converting int

prices into Strings. You do not need to edit this class.

You should begin by completing the implementation of Menu, MenuItem and the sub-

classes of MenuItem, the requirements are described in more detail in Section 2. After

which, you should attempt to implement Order, OrderEntry and the implementing classes

of OrderEntry, the requirements are described in more detail in Section 3.

Leave a Comment

Your email address will not be published. Required fields are marked *