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. All the records should be properly saved in the file using file handling. All classes should be clearly identified and code as the object oriented rules. Getter, setter constructor should be clearly coded. Inheritance should be applied to the classes. Operator overloading and overriding should also be applied. Add a friend class. Add virtual function in the project. Add a namespace in your project. Apply some exception handling in the project.
this is the Question of object oriented
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.
- All the records should be properly saved in the file using file handling.
- All classes should be clearly identified and code as the object oriented rules.
- Getter, setter constructor should be clearly coded.
- Inheritance should be applied to the classes.
- Operator overloading and overriding should also be applied.
- Add a friend class.
- Add virtual function in the project.
- Add a namespace in your project.
- Apply some exception handling in the project.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images