question archive Assume you are going to buy some Items from the Departmental store
Subject:Computer SciencePrice: Bought3
Assume you are going to buy some Items from the Departmental store. You want to calculate the Total cost of the items which you want to purchase from the store. Following items to be purchased: Parker pen Pilet pen One Notebook with more than 250 pages ( Ex: Price is Rs. 50) " One Notebook with less than 250 pages ( If pages < 250, reduce the cost by Rs.5) Find the Total cost by implementing Visitor pattern