I am stuck in the loops help please! - Programmers Heaven

Howdy, Stranger!

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

Categories

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.