-
Notifications
You must be signed in to change notification settings - Fork 0
Sajid05/DP-Assignment
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
For this assignment, we consider a program scenario that finds the cost of different medical tests. We can also have different variation of those tests. The first case is handled by Factory class and the later one is by Decorator class. The factory class is modified accordingly so that it could accommodate additional services added by the decorator class. The main file contains some example scenario which gives the output as intended.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published