Search:

Type: Posts; User: jhwebster1

Search: Search took 0.00 seconds.

  1. Thread: End Program

    by jhwebster1
    Replies
    7
    Views
    2,339

    End Program

    Can anyone tell me why my program ends if the user inputs an alpha instead starting the loop again?
    thanks


    #include <stdio.h>
    #include <cstdio>
    #include <iostream>


    main()
  2. Replies
    3
    Views
    8,316

    goto command

    I am having trouble with the goto command in the code below. The program should make two validation. First is if store selection is correct and second is if purcahse amount is numeric. If either is...
  3. Thread: Max Min

    by jhwebster1
    Replies
    6
    Views
    2,301

    Thank you so much....it does make it easier...

    Thank you so much....it does make it easier looking at it the way you have it posted.
  4. Thread: Max Min

    by jhwebster1
    Replies
    6
    Views
    2,301

    Max Min

    What is the logic behind the Max Min functions? Are they supposed to perform a calculation and return the value to the main function? Please see example code.

    thanks

    printf("\nMax is %f",...
  5. Thread: Max Min

    by jhwebster1
    Replies
    6
    Views
    2,301

    Max Min

    Ok that makes sense, but I am still not geting the idea I guess. This is how I recoded. I am still unsure about the //some code mentioned in last post and how the function is called.




    if ...
  6. Thread: Max Min

    by jhwebster1
    Replies
    6
    Views
    2,301

    Max Min

    Can any one help wiht this project? The code is to evaluate two numbers and find the max and min of those numbers using functions. I am new to C proramming and have been stumped on this.

    ...
Results 1 to 6 of 7