Anthony Arnold

Greenhorn
+ Follow
since Jul 13, 2017
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anthony Arnold

Hello all,

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
6 years ago