Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Conversation Between Junky and NewAtJava

4 Visitor Messages

  1. ok im not really understanding you. I thought that it didn't matter as long as i had the return result and what ever result equaled too.
  2. Hey man thanks for all the advice. i can post a new code but i dont know how to put highlight tags or what that is. also i dont know what the bb code is?
  3. ohhhhhhh. Thanks for that. So i recompiled it and it wont work properly it doesnt recognize that i have Cheeseburger, Pepsi and chips in the array when i enter in Cheeseburger it gives me the else statement we do not carry that when it is suppose to say the price for cheeseburger is and the price . How do I fix this?
  4. i have price=foodPrices[sub] is this not enough
Showing Visitor Messages 1 to 4 of 4