Search:

Type: Posts; User: thomasjiii

Search: Search took 0.01 seconds.

  1. Replies
    21
    Views
    4,810

    OMG thank you so much. I finally got it working...

    OMG thank you so much. I finally got it working perfectly. I always forget little things that really mess me up. Again thanks for the help I probably wouldn't have gotten it without you.
  2. Replies
    21
    Views
    4,810

    Yea here's the complete code: #include...

    Yea here's the complete code:



    #include <stdio.h>
    int main(void)
    {
    int a, b, num, onesDig, tensDig;
  3. Replies
    21
    Views
    4,810

    Yea I fixed both of them after the two if...

    Yea I fixed both of them after the two if statements, but now I cant get output from anything but the onesDig. It outputs stuff like -eight, -two. A couple times it was actually right for the ones...
  4. Replies
    21
    Views
    4,810

    rags_to_riches I saw that. That is what was...

    rags_to_riches I saw that. That is what was causing the else error, but I have fixed that part now.
  5. Replies
    21
    Views
    4,810

    I fixed the else problem and dropped the else...

    I fixed the else problem and dropped the else before the if (onesDig) but I don't know why the output seems to be just a random onesDig case; the program will not output ten-nineteen or twenty-ninety...
  6. Replies
    21
    Views
    4,810

    I really have problems with switch statements for...

    I really have problems with switch statements for some reason. I put them inside the ifs and it keeps giving me errors saying else statement without a previous if. I tried just taking the else's out...
  7. Replies
    21
    Views
    4,810

    Ok thanks for the help I should be able to get it...

    Ok thanks for the help I should be able to get it now.
  8. Replies
    21
    Views
    4,810

    I've gotten completely lost lol. I'm not really...

    I've gotten completely lost lol. I'm not really sure how to use your codes from post 2 and 3.
  9. Replies
    21
    Views
    4,810

    I'm taking my first c programming class so I...

    I'm taking my first c programming class so I don't know much about it. I wasn't really sure how and where i should use the code you posted. I put the printf at the end of the code. So would I put the...
  10. Replies
    21
    Views
    4,810

    I tried printf("%s", word); and it doesn't print...

    I tried printf("%s", word); and it doesn't print anything. I tried printf(word); and put in 10 and 11 and it displayed -four
  11. Replies
    21
    Views
    4,810

    Thanks so far. I'm still confused on how to get...

    Thanks so far. I'm still confused on how to get it to print out the words. This is what i have now:


    #include <stdio.h>
    int main(void)
    {
    int a, b, i, onesDig, tensDig;

    char* word;
  12. Replies
    21
    Views
    4,810

    Program Help

    I am making a program that will take any two two-digit numbers determine the largest and display it in words using if/else and switch statements. I'm kinda stuck. I know how to determine the larger...
Results 1 to 12 of 12