Help Guys ...

Discussion in 'Programming General' started by Imdead24, Oct 8, 2011.

Help Guys ...
  1. Unread #1 - Oct 8, 2011 at 8:14 AM
  2. Imdead24
    Joined:
    Oct 8, 2011
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    Imdead24 Newcomer

    Help Guys ...

    can you help me with this problem ...

    example:

    its just an example .... im stuck with that .. that how i can make that if i enter Y , 5 times it will show Customer 5 and then add the price ...
     
  3. Unread #2 - Oct 10, 2011 at 5:49 PM
  4. wackywamba
    Joined:
    Jul 14, 2005
    Posts:
    1,358
    Referrals:
    0
    Sythe Gold:
    1

    wackywamba Guru

    Help Guys ...

    Not sure what your question is exactly?

    Just use a while loop by the sounds of things.
     
  5. Unread #3 - Oct 12, 2011 at 1:04 AM
  6. Ortho
    Joined:
    Sep 18, 2011
    Posts:
    157
    Referrals:
    0
    Sythe Gold:
    0

    Ortho Active Member
    Banned

    Help Guys ...

    Make a counter for each customer. Whenever chicken is chosen for customer 1, counter1 += 5

    Also, Y makes it go through the loop again, it doesn't necessarily mean the user is adding another chicken to the order
     
< Making java scripts | [Android] Power Tetris - My first android app work in progress >

Users viewing this thread
1 guest


 
 
Adblock breaks this site