Java code
Management of Charles Saah & Associate a poultry farm has realized that the staff are stealing the eggs that are harvested, counted andkept in stock. This is because they cannot check how many eggs have been sold, and how many left. After several consultations they decidedto automate the stock taking process. The chief executive officer Charles Saah, contacted Charles Saah of AiT Systems (CSAiTS) to helpdevelop 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 totalcrates of eggs harvested and stockedb) Allow the eggs to be sold in crates but, cannot sell more crates ofeggs than in stock. This process should be performed five times; eachtime compare the stock level as you cannot sell more than you have instockc) Display the following results and explain the logic behind the code: 1. number of creates harvested2. number of crates left in stock if any after the sale3. amount of money in GHs
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here