• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Customer /Order Program

 
Gina Ruffolo-Daniel
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is for a school lab. The GadgetOrderTaker class is an interactive app that takes four customer orders. It allows each customer to order up to four items. Right now I have a mini version of this program because I want to figure out do this. I am sure that I am missing the obvious. This is my current output after being prompted four times:


Here is my source code:


Thank in advances,
Gina
 
Joe Ess
Bartender
Posts: 9318
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would have been polite to give us code that will compile.
Once I got your code to compile by adding Gadget and Order, I received different output:

That's pretty much what the code does. Now the question is, what do you expect the output to be.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic