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.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 1MQ3
icon
Related questions
Question

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.

 

 

 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning