Search:

Type: Posts; User: Harveyh

Search: Search took 0.01 seconds.

  1. Thread: help with code

    by Harveyh
    Replies
    0
    Views
    4,323

    help with code

    In my code when the customer is asked what they would like to purchase I need the code to show an error message if an item is selected that is not available in the menu could someone show me how I...
  2. Thread: help with code

    by Harveyh
    Replies
    1
    Views
    4,881

    help with code

    I have written this code but when debugging an error appears in the function purchaseItem I can't see how to fix it can anyone help. Also any other errors in the code let me know.


    #include...
  3. Replies
    10
    Views
    6,269

    struggling*

    struggling*
  4. Replies
    10
    Views
    6,269

    I am having trouble getting arrays to work how...

    I am having trouble getting arrays to work how can i implement them into this, i jsut need arrays for the item and prices im struggled to get anything to work


    #include <stdio.h>


    struct...
  5. Replies
    10
    Views
    6,269

    Yes i see your solution now, could you show me...

    Yes i see your solution now, could you show me how i could implement arrays for the shop item and for the prices of these items into that solution?
  6. Replies
    10
    Views
    6,269

    Sorry did you have a better solution I must of...

    Sorry did you have a better solution I must of missed it. was it posted on my last thread?
  7. Replies
    10
    Views
    6,269

    arrays for the items and for the prices of items....

    arrays for the items and for the prices of items.
    The items stored in an array defined as itemPrefixes
    The prices stored in ab integer array as itemPrices.
    The position “i” in itemPrefixes and...
  8. Replies
    10
    Views
    6,269

    help With arrays

    I have been set a task to implement arrays into this code to make its usability better could any help and show me how i could do this


    #include <stdio.h>
    #include <stdlib.h> // This library is...
  9. Replies
    3
    Views
    4,598

    Help with functions

    Hi, how could I implement functions into this code to make the readability and usability better? Thank you


    #include <stdio.h>


    int main()
    {
    int Orange = 0;
    int Apple = 0;
  10. Replies
    7
    Views
    5,252

    Hi , this is very helpful but i am new to...

    Hi , this is very helpful but i am new to programming and have yet to learn about some of the things you have used in your code, i am still getting to know the basics. Could you show me how i would...
  11. Replies
    7
    Views
    5,252

    How can I assign a variable to whatever the user...

    How can I assign a variable to whatever the user selects, I didn't know how to do that bit hence the long and repetitive code. Thank you
  12. Replies
    7
    Views
    5,252

    Could you show me an example of what it would...

    Could you show me an example of what it would look like as I'm am fairly new so I'm still getting to grips with everything?
  13. Replies
    7
    Views
    5,252

    Help for a beginner

    #include <stdio.h>


    int main()
    {
    int Orange;
    int Apple;
    int Pear;
    int Budget;
    char ItemChosen;
  14. Replies
    4
    Views
    3,401

    Would this piece of code need to be done for All...

    Would this piece of code need to be done for All the fruits with multiple decisions?
  15. Replies
    4
    Views
    3,401

    #include int main() { int...

    #include <stdio.h>


    int main()
    {
    int Orange;
    int Apple;
    int Pear;
    int Budget;
    char ItemChosen;
  16. Replies
    4
    Views
    3,401

    Help for a beginner

    Hi, I am brand new to programming and I am just getting to grips with C language. However, I am stuck! I have been ask to do a program which expects me to allow a customer to selected a piece of...
Results 1 to 16 of 16