Professional Documents
Culture Documents
Group:A4CS2303A
Lab Exercise: Polymorphism
Given the following classes and inheritance hierarchy, which are used to store various types of
tailor services:
TailorService
BajuKurung BajuMelayu
and the following are definitions for the TailorService, BajuKurung, and BajuMelayu classes:
ii) Calculate and display the number of customer who chooses to make baju kurung or
baju kebaya with embroidery option.
iii) Calculate and display the total amount of payment of all customers including delivery
service charge that costs RM5.00. Display also total income received by the tailor.
Display the output in the following format:
OUTPUT:
Name:Muhammad Hairil bin Shaharudin 2020834824
Group:A4CS2303A