Mr. Abu Tawfiq has a farm in Jordan Valley. His farm contains cows and chickens. In his farm, cows produce Milk and chickens give eggs. He sell the liter of milk with (1.24JD) and each egg with (90...


make sure that you have used



Mr. Abu Tawfiq has a farm in Jordan Valley. His farm contains cows and chickens. In his<br>farm, cows produce Milk and chickens give eggs. He sell the liter of milk with (1.24JD)<br>and each egg with (90 Fils). We need to develop a program in C++ that helps Abu<br>Tawfiq in organizing and tracking the production of his farm. Write a complete C++<br>program that uses the OOP model to allow Abu Tawfiq to record the daily production<br>of each cow and each chicken. Then your program should enable Abu Tawfiq to display<br>a report (on demand) of his farm productions; the report includes the total Milk<br>amount (in Liters), the total Eggs (in number of eggs), benefit of milk, benefit of eggs,<br>percentage of benefit of cows, percentage of benefit of chickens.<br>Your program should support the following operations:<br>1. add new Cows.<br>2. add new Chickens.<br>3. modify the daily production amount of a cow or a chicken.<br>4. estimate the benefit gained at any specific day value; for example, Abu Tawfiq can<br>estimate the benefit after 5 days of production, or after 100 days, .. etc.<br>Good Luck .<br>

Extracted text: Mr. Abu Tawfiq has a farm in Jordan Valley. His farm contains cows and chickens. In his farm, cows produce Milk and chickens give eggs. He sell the liter of milk with (1.24JD) and each egg with (90 Fils). We need to develop a program in C++ that helps Abu Tawfiq in organizing and tracking the production of his farm. Write a complete C++ program that uses the OOP model to allow Abu Tawfiq to record the daily production of each cow and each chicken. Then your program should enable Abu Tawfiq to display a report (on demand) of his farm productions; the report includes the total Milk amount (in Liters), the total Eggs (in number of eggs), benefit of milk, benefit of eggs, percentage of benefit of cows, percentage of benefit of chickens. Your program should support the following operations: 1. add new Cows. 2. add new Chickens. 3. modify the daily production amount of a cow or a chicken. 4. estimate the benefit gained at any specific day value; for example, Abu Tawfiq can estimate the benefit after 5 days of production, or after 100 days, .. etc. Good Luck .

Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here