java code (pseudocode) Imagine that you are a merchant and need to keep better tabs on your
Question:
java code (pseudocode)
Imagine that you are a merchant and need to keep better tabs on your merchandise to know when to reorder supplies. First, write out pseudocode, and then create a program to help you by accomplishing the following tasks:
Use command line interface to ask the user to input the following. (You will need to convert this from a string to an integer.)
○ How many apples are on hand
○ How many apples should be in stock
○ How many oranges are on hand
○ How many oranges should be in stock
Perform an operation to determine how many of each item should be ordered to maintain the stock.
Use command line interface to output the number of apples and oranges that need to be ordered.
Once you have the program laid out, build it by creating a functional program. Use your pseudocode as a guide.