Two Laptop Bag
The moose likes Beginning Java and the fly likes Customer /Order Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Customer /Order Program" Watch "Customer /Order Program" New topic

Customer /Order Program

Gina Ruffolo-Daniel

Joined: Oct 01, 2005
Posts: 19
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,
Joe Ess

Joined: Oct 29, 2001
Posts: 9190

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.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Customer /Order Program
It's not a secret anymore!