This is an object oriented programming question
Draw the class diagram only
The diagram should be well defined
Describe every relation that they are one to many or not.
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.
Define the classes (attributes, behaviors or function)
Make getter or setter and constructor
Define Generatebill() function in milkman class.
Define viewbill() function in customer class.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here