Assume that the cell users are two types -those with a post paid option and those with a prepaid option.Post paid gives a fixed three talk time and the rest is computed at the rate of Rs. 1.90 per pulse. prepaid cards have a fixed talk time . Define a class cell_user as a base class and derive the hierarchy of classes. Define member function and override them wherever the necessary to :- (I) retrive the talk time left for each user. (II) print the bill in proper format containing all the information for the post -paid user.
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.