Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

I am stuck in the loops help please!

AlmirKAlmirK Posts: 1Member
[b][red]This message was edited by AlmirK at 2002-11-17 13:48:5[/red][/b][hr]
I need to design this program for my Computer Programming Asigment,
and the question is as follows:
The program must be able to distinguish the following:
Write a program that would resembel an automated order system for a takeaway pizza restaurant. The program must calculate the total cost of your pizza order.
1.Three sizes 12, 16, 21 inch Pizas
2.Extra topping maximum of 5
3.The price of each size
4.The price for each topping

The thing is i am fine un till its loop time i need some help here please help i am using turbo pascal 1.5

P.S.
You also need to be able to order it as many times as you want.
Help me please.
Thanks a lot!


Comments

  • zibadianzibadian Posts: 6,349Member
    : [b][red]This message was edited by AlmirK at 2002-11-17 13:48:5[/red][/b][hr]
    : I need to design this program for my Computer Programming Asigment,
    : and the question is as follows:
    : The program must be able to distinguish the following:
    : Write a program that would resembel an automated order system for a takeaway pizza restaurant. The program must calculate the total cost of your pizza order.
    : 1.Three sizes 12, 16, 21 inch Pizas
    : 2.Extra topping maximum of 5
    : 3.The price of each size
    : 4.The price for each topping
    :
    : The thing is i am fine un till its loop time i need some help here please help i am using turbo pascal 1.5
    :
    : P.S.
    : You also need to be able to order it as many times as you want.
    : Help me please.
    : Thanks a lot!
    :
    :
    :
    I have answered a similar question a few days back. It is the "Please help with a Procedures and Loops assignment"-thread. Perhaps tit also helps you.
  • viv.viv. Posts: 72Member
    please include the code!
    just have somthing like this...
    [code]
    WHILE priceofpizza <>0 DO
    BEGIN
    ...
    action statements
    ...
    END;
    [/code]

    this would end the loop when price of pizza is a stupid figure like o$



Sign In or Register to comment.