4 The Rice House Background
The Rice House, a local restaurant that offers varieties of rice dishes and beverage using different
types of rice such as jasmine rice, glutinous rice, basmati rice, sushi rice and local rice. The
specialties of The Rice House are Fish Porridge, Sushi Boat, Glutinous Rice Cakes, Bryani Rice,
Nasi Lemak and Sarawak Local Rice Wines.
4.1 Assignment Requirements
Write a program in C++ to demonstrate your ability to apply object-oriented principles;
encapsulation, inheritance and polymorphism concepts in designing your solutions for The Rice
House restaurant. Design the possible classes of the food and beverage offer in the restaurant
and show the relationship among the classes. You are encouraged to use your creativity and
logical thinking classify the type of rice dishes and beverages in order to design your classes in
order increase the reusability and maintainability of your system.
Your program should meet all the requirement as below:
a) Consists at least 2 levels of class inheritances with at least one (1) sub-class at each level of
inheritance and maximum six (6) classes in total;
b) Each class should have at least two (2) new attributes, one (1) new method and one (1)
c) At least one (1) class contains overloading constructors;
d) Consists at least one (1) overriding method at any level;
e) Each class should contain at least one (1) method to set new value(s) to the class attributes
or to retrieve information of the attributes;
f) Create array(s) with maximum size of 10 to store the objects of the classes you have created;
g) Your system should be able to provide all the functions as listed below continuously based
on user selection. The key functions of your program interface are:
Menu - Display main menu options
Add Dishes - Ability to add different new rice dishes in an array
Delete Dishes - Ability to delete existing rice dishes from the array
View All Dishes - Ability to view all the list of rice dishes created in the array(s).
Exit - Exit from the program
h) Your program should operate continuously until user choose to terminate the program;
i) Create at least one (1) object for each Dish (class) in your program (pre-set data). Your
program should able to view all created dishes through “View ALL Dishes” function once your
program is executed; and
j) Submit a report contains UML class diagram of your classes design and the screenshot of your
program output. Your report should not exceed 3 pages (not including front cover).
Report Format: Font Type - Times New Roman; Font Size – 12; Line Spacing- 1.5; and
paragraph text arrangement - justified.
10 freelancers are bidding on average RM136 for this job
bid depends on work Relevant Skills and Experience i have a degree computer in science and have done many projects in c and C++ and i am also familiar with oop concepts Proposed Milestones RM82 MYR - 1