
-----------------------------------
Death1508
Tue Jan 05, 2010 10:04 am

Pizza maker
-----------------------------------
i need helping on writing code for a pizza program
that takes orders calculates toppings and takes the price and tax and spits the price and keeps track of all the orders and stuff

-----------------------------------
Zren
Tue Jan 05, 2010 1:21 pm

RE:Pizza maker
-----------------------------------
What have you got so far?

-----------------------------------
Death1508
Tue Jan 05, 2010 10:20 pm

Re: Pizza maker
-----------------------------------
ya to be honest not much lol barely understand java we did like 4-5 periods on it and now he just throws this at us and i have no idea on to write the code for it like i just need text base and idk anything about GUI so i cant do that like we didnt learn to much for java i just need some help with it

-----------------------------------
andrew.
Wed Jan 06, 2010 4:07 pm

Re: Pizza maker
-----------------------------------
Write down, step-by-step, on paper how to achieve these tasks.

e.g. 
1. Display orders like this:
1. Pizza
2. Salad
3. Fries
2. Get the user's choice as an integer. i.e. 1 is pizza, 2 is salad, etc.
3. Calculate the price. Pizza is $3.45
4. ...

-----------------------------------
Kam
Wed Jan 06, 2010 7:34 pm

RE:Pizza maker
-----------------------------------
yes i agree with ^^^^ 

you'll benefit the most when you try it out first and when your finished, compare it with others to see if there is a better way to do it (there are ALWAYS more efficient way to program it)

and if you have no idea how to write the program, I'd suggest you learn so you will know what the heck you are doing.

-----------------------------------
Death1508
Wed Jan 06, 2010 8:14 pm

Re: Pizza maker
-----------------------------------
ya like weve gotta make 3 URLs like one on menu,orders(num of pizzas toppings and etc), and then bills like that way and stuff and its complicated i can read code but cant write it lol

-----------------------------------
andrew.
Thu Jan 07, 2010 4:32 pm

RE:Pizza maker
-----------------------------------
Well, don't write code then. Instead, write it out step-by-step like a said earlier. Trust me, that's the first step towards building your program.
