Skip to content

Sajid05/DP-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages