this is the Question of object oriented programming write answer in a program Mr.Fayyaz is a milkman who is supplying milk to many customer. Each customer has its name CNIC Home_Address and phone...


this is the Question of object oriented programming


write answer in  a program



Mr.Fayyaz is a milkman who is supplying milk to many customer. Each customer has its name CNIC Home_Address and phone number. Mr Fayyaz wants to keep the track of daily milk supply quantity and price. He also wants to monthly record of each customer. Customer could also login and use the milkman application to view its bill. Mr Fayyaz could see the total sales of each customer. The milk has two types buffalo milk and cow milk. Mr Fayyaz also want to maintain the record of workers in the application.



functionality of



Searching of a customer by its name the project would be able display the details e.g.  Customer CNIC and Address etc.


Searching a customer bill detail the project would be able to display its monthly details of milk, quantity, and total bill.


Searching a milk detail date wise, it means when milkman search for milk detail by giving the month, the project should be able to display the details of milk and its quantity sold in a month.


The project should be able to count the number of customer. Hint (using the static object)


The milkman should be able to enter the milk record, should be able to update a delete any record.




  1. All the records should be properly saved in the file using file handling.

  2. All classes should be clearly identified and code as the object oriented rules.

  3. Getter, setter constructor should be clearly coded.

  4. Inheritance should be applied to the classes.

  5. Operator overloading and overriding should also be applied.

  6. Add a friend class.

  7. Add virtual function in the project.

  8. Add a namespace in your project.

  9. Apply some exception handling in the project.





Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here