Robert Nino

Greenhorn
+ Follow
since May 03, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Robert Nino

Alright so I'm going to remove void how will I right the return statement?
15 years ago
The second piece of code is supposed to create it and the first code is supposed to display it. They are 2 different files that are supposed to me linked together...
15 years ago
I am having trouble with my Java assignment. I have not been having problems until now. Here is my assignment:
Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product. In addition, the output should display the value of the entire inventory. � Create a method to calculate the value of the entire inventory. � Create another method to sort the array items by the name of the product. And here is my current code:

And:

Here is the error:


If I remove void I then get an error that I am leaving out the return info.
15 years ago