Thank you Norm. I tried to make a variable sum with a for loop that adds to each loop to hold the input but it would not let me make an int sum variable to print out menu.. which is a string.. or...
Type: Posts; User: Jaloney
Thank you Norm. I tried to make a variable sum with a for loop that adds to each loop to hold the input but it would not let me make an int sum variable to print out menu.. which is a string.. or...
I am stuck at the end.. How to total everything and play it back after entering 0
I have no clue how to make it print out the previously entered menu items and total them..
This is my...
This is my very first array assignment. I am so happy you wrote back. I have spent hours on this and at the tutoring lab and the tutors are not very experienced in Java so I am on my own. I keep...
I am making some progress! I tested my input and everything works so far. AMAZING. I am stuck on how to "play back" the thired array in sequence to print out the description, price and total the...
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error on token "void", @ expected
Syntax error on token "]", invalid (
Syntax error, insert "]" to complete...
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error on token "void", @ expected
Syntax error on token "]", invalid (
Syntax error, insert "]" to complete...
So the if loop referencing the index should apply to the item number array also and pick up each item number.. I think that is what you are saying.
I added the scanner util and created new...
Thank you! That little code wrap helps make the code a lot easier to read. Now I am trying to figure out if I need to add something like
item number 1 = input.next. I don't understand how to connect...
This is the output below. I am given the 3 menu items, prices, and 3 Product numbers.
I have to create the source code. I am using elcipse ( My code at bottom)
OUTPUT...