Bookmark Topic Watch Topic
  • New Topic

calculate the cost of an order  RSS feed

 
jigga bull
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
help this is my first tme on a forum and i dont know my way around.
i have a java restaurant ordering program.It is showing the ordering list but it wont calculate the orders.example if i order 2 burger and a fries it should calculate the cost of each burger and fries to give output.
help help help.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12563
49
Chrome Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
you should probably read our FAQ on HowToAskQuestionsOnJavaRanch (<--click that). For example, using a good subject helps people know what you need help with. On a forum (almost) entirely devoted to Java, a subject of "java" doesn't really help anyone.

Next, post your code. There is simply no way anyone can help you when all you say is "I need help". There are about a thousand places you could need help - installing the JDK. writing a simple "HelloWorld" program. running a program. compiling...the list goes on and on. So TellTheDetails (<-click) because ItDoesntWorkIsUseless (<-click).
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66304
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
As an example, I changed the subject for you. Please use it as a pattern for future posts.
 
Campbell Ritchie
Marshal
Posts: 56529
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
And welcome to the Ranch
 
Campbell Ritchie
Marshal
Posts: 56529
172
  • Mark post as helpful
  • send pies
  • Report post to moderator
You should have posted the whole code here, rather than starting this new thread. I am closing one of them.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!