Search:

Type: Posts; User: Jjoraisnt32

Search: Search took 0.00 seconds.

  1. Thread: If-Else

    by Jjoraisnt32
    Replies
    5
    Views
    1,110

    For the sake of not starting a new post every 5...

    For the sake of not starting a new post every 5 min im going to revive this one, if I may.

    #include <stdio.h>
    #include <stdlib.h>
    #include <ctype.h>
    #include <time.h>


    #define...
  2. Thread: while

    by Jjoraisnt32
    Replies
    1
    Views
    833

    while

    Why does it read a character if i didnt put anything in after printing a shape for the first time. i need to to stop until i pick another shap
    #include <stdio.h>
    #include <stdlib.h>
    #include...
  3. Replies
    4
    Views
    1,028

    Oh yea, I meant to include the return statement. ...

    Oh yea, I meant to include the return statement. I just put
    return userInput;
    after the if statements. and the error was int* to int. I still do not understand why. i call the function in...
  4. Replies
    4
    Views
    1,028

    From int to int

    #include <stdio.h>
    #include <stdlib.h>

    int getInput(int userInput);

    int main()
    {
    int userInput;

    getInput(&userInput);
  5. Thread: If-Else

    by Jjoraisnt32
    Replies
    5
    Views
    1,110

    what do you mean? Im not doing the continue part...

    what do you mean? Im not doing the continue part in main I need to do it in a function then return either true or false to main. It changes it to upper case but where it compares to see if it is 'N'...
  6. Thread: If-Else

    by Jjoraisnt32
    Replies
    5
    Views
    1,110

    If-Else

    #include <stdio.h>
    #include <stdlib.h>
    #include <ctype.h>
    #include <stdbool.h>

    int continueGame(bool playMore);
    void printRules(FILE *outfp);


    int main()
  7. Replies
    6
    Views
    1,264

    Why doesn't it divide correcty when doing the...

    Why doesn't it divide correcty when doing the calculations? I added a if statement for converting to fluid ounces
    if(engUnit =1)
    *pConvertUnit = (inputInMilli / Mili_FlOz);
    else
    ...
  8. Replies
    6
    Views
    1,264

    duh, haha thank you!

    duh, haha thank you!
  9. Replies
    6
    Views
    1,264

    Well i fixed it to do the calculations ( was...

    Well i fixed it to do the calculations ( was scanning %.3lf instead of just normal %lf which was messing it up), but now im trying to do the output. I need to print it out to something like this...
  10. Replies
    6
    Views
    1,264

    Doesn't compute

    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>

    #define Mili_FlOz 29.573
    #define Flui_Cup 8
    #define Flui_Pint 16
    #define Flui_Quar 32
    #define Flui_Gall 128
  11. Replies
    7
    Views
    1,484

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>


    void getInput(int *pinFeet,
    double *pinInches,
    int *pinAge2,
    double *pinWeight);
    void...
  12. Replies
    7
    Views
    1,484

    so would i just add calcKilo = calcKilo...

    so would i just add

    calcKilo = calcKilo
    meterDone = meterDone
    in the doCalculations?

    I thought that my functions were taking care of those calculations.
  13. Thread: Help

    by Jjoraisnt32
    Replies
    3
    Views
    922

    Thank You! I changed %d and it compiled great.

    Thank You! I changed %d and it compiled great.
  14. Replies
    7
    Views
    1,484

    Help Again!!

    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>


    void getInput(int *pinFeet,
    double *pinInches,
    int *pinAge,
    double *pinWeight);
    void...
  15. Thread: Help

    by Jjoraisnt32
    Replies
    3
    Views
    922

    Help

    Why isnt this doing what i want it to do? Its suppose to convert a height into inches, centimeters, and meters



    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>

    void...
Results 1 to 15 of 16