Java code Management of Charles Saah & Associate a poultry farm has realized that the staff are stealing the eggs that are harvested, counted and kept in stock. This is because they cannot check how...


Java code


Management of Charles Saah & Associate a poultry farm has realized that the staff are stealing the eggs that are harvested, counted and
kept in stock. This is because they cannot check how many eggs have been sold, and how many left. After several consultations they decided
to automate the stock taking process. The chief executive officer Charles Saah, contacted Charles Saah of AiT Systems (CSAiTS) to help
develop a system for the automation. It was decided that the software for the automation should perform the following when installed.
Assuming that a crate of egg cost GHS20 and only full crates of eggs are to be sold.
a) Take the name of the person harvesting the eggs, the total
crates of eggs harvested and stocked
b) Allow the eggs to be sold in crates but, cannot sell more crates of
eggs than in stock. This process should be performed five times; each
time compare the stock level as you cannot sell more than you have in
stock
c) Display the following results and explain the logic behind the code:
 1. number of creates harvested
2. number of crates left in stock if any after the sale
3. amount of money in GHs



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here