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.   The final project could have the 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.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter12: Subqueries And Merge Statements
Section: Chapter Questions
Problem 15MC
icon
Related questions
Question

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.

 

The final project could have the 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
SQL Functions
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
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage