Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Pizza maker
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Death1508




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Tue Jan 05, 2010 1:21 pm   Post subject: RE:Pizza maker

What have you got so far?
Death1508




PostPosted: 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
andrew.




PostPosted: 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. ...
Kam




PostPosted: 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.
Death1508




PostPosted: 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
andrew.




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: