An internet cafe chargers Rs 10 per hour from its customer seven if user does not use for full hour, he/she has to pay minimum for a full hour . To keep track of number of customers visiting and total collection made the following class definition is used.
Define a class Icafe to model a public internet cafe:
Comments
Leave a comment