Computer Science Canada

Pizza maker

Author:  Death1508 [ Tue Jan 05, 2010 10:04 am ]
Post subject:  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

Author:  Zren [ Tue Jan 05, 2010 1:21 pm ]
Post subject:  RE:Pizza maker

What have you got so far?

Author:  Death1508 [ Tue Jan 05, 2010 10:20 pm ]
Post subject:  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

Author:  andrew. [ Wed Jan 06, 2010 4:07 pm ]
Post subject:  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. ...

Author:  Kam [ Wed Jan 06, 2010 7:34 pm ]
Post subject:  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.

Author:  Death1508 [ Wed Jan 06, 2010 8:14 pm ]
Post subject:  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

Author:  andrew. [ Thu Jan 07, 2010 4:32 pm ]
Post subject:  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.


: