I have recently started a programming course and it is in java which I have never touched coding before and having problems trying to get it to function 100% correctly. Was looking for places which could possibly offer advice or suggestions on how can fix my code and make it function better.
This is the type of code I came up with but can't get the last part to function correctly or notice anywhere could fix up myself.
Use command line interface to ask the user to input the following(You will need to convert this from a string to an integer)
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.
This is what i am trying to accomplish. I have ran it and debugged it and can get numbers for everything except for the last part . if anyone can offer help would be appreciative
Sorry for long post/long code just at a wall with trying to solve it on my own