Search:

Type: Posts; User: ke121885

Search: Search took 0.01 seconds.

  1. Thread: error message

    by ke121885
    Replies
    7
    Views
    1,421

    if I asking for help on a board that is used for...

    if I asking for help on a board that is used for help why are people getting mad? I haven't been doing programming forever and am just trying to learn what I am doing wrong. Sorry I am a bother but...
  2. Thread: error message

    by ke121885
    Replies
    7
    Views
    1,421

    pause

    In this Code:


    int main(void)

    {
    double salary = 0,sumtax = 0;
    double fedtax = 0.17;
    double statetax = 0.03;
  3. Thread: error message

    by ke121885
    Replies
    7
    Views
    1,421

    error message

    I keep getting a syntax error message right before the statetax in the while loop. But there isn't anything there


    int main(void)

    {
    double salary = 0,sumtax = 0;
    double...
  4. Replies
    8
    Views
    1,663

    hmmm...

    Now why did that semicolon stop my entire table from printing? (it worked by the way! Thanks)
  5. Replies
    8
    Views
    1,663

    so I have gotten this far...now with the...

    so I have gotten this far...now with the incrementing? is there a tutorial that I can use?



    int main(void)
    {
    double two_pi = 2.0 * M_PI;
    double interval = two_pi / 19;
    ...
  6. Replies
    8
    Views
    1,663

    update

    Sorry this is the one that was on the actual program. I just typed that from my notebook while I was waiting for the program to run. It isn't much different. I just need it to do the increments....
    ...
  7. Replies
    8
    Views
    1,663

    Am I missing something?

    I want to print a trigonometric table for sin, cos, and tan.



    #include<stdio.h>
    #include<math.h>
    /*
    * Main Function
    */
  8. Replies
    2
    Views
    2,312

    lrand and srand

    Are there any good tutorials on usig lrand48() and srand48() or any one that could explain it? I just wrote a quick program tat gave the value of RAND_MAX.



    #include <stdio.h>
    #include...
  9. Thread: rand()

    by ke121885
    Replies
    1
    Views
    1,751

    rand()

    Are there any good tutorials on usig lrand48() and srand48() or any one that could explain it? I just wrote a quick program tat gave the value of RAND_MAX.



    #include <stdio.h>
    #include...
  10. Thread: Rand_max

    by ke121885
    Replies
    4
    Views
    5,228

    ....

    I think with writing these programs I think I have to add in more text for no reason....took out the for loop and the input prompt and still got the same answer....hmmm....thanks!
  11. Thread: Rand_max

    by ke121885
    Replies
    4
    Views
    5,228

    update

    So I entered the wrong code but here is the updated one. How does it look:



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

    /*
    * Main Function
    *
  12. Thread: Rand_max

    by ke121885
    Replies
    4
    Views
    5,228

    Rand_max

    I am trying to write a program that would print the value of RAND_MAX here is the code



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

    /*
    * Main Function
    *
  13. Thread: newb help

    by ke121885
    Replies
    5
    Views
    1,017

    Thanks!

    I didn't see the second half of the reply. Thanks! It ended up working. I'm still learning so I am sure i'll have more questions but thanks again! :)
  14. Thread: newb help

    by ke121885
    Replies
    5
    Views
    1,017

    i/o

    Enter pounds
    1
    Enter ounces
    1
    The weight converted to kilograms is -1271310319
    The weight converted to grams is 858993460


    This is the i/o. I tried fixing what you had said the but numbers...
  15. Thread: newb help

    by ke121885
    Replies
    5
    Views
    1,017

    newb help

    I am writing a program to a class. It is pretty self explanatory on what is supposed to happen but the math is coming up completely wrong. Any help?




    #include<stdio.h>
    #define POUNDS 16 //...
  16. Thread: right align

    by ke121885
    Replies
    1
    Views
    2,659

    right align

    I have finished my code but want to right align my text. I have looked everywhere but can't find out how. here it is...



    #include<stdio.h>

    #define MAX_N 10
    #define MAX_P 5
    /*
    * Main...
  17. Replies
    5
    Views
    1,520

    im not sure about what to put in after the last...

    im not sure about what to put in after the last ";" Its the printing the data that has me all mixed up for some reason.
  18. Replies
    5
    Views
    1,520

    simple programming issue!

    I am trying to make a program where the powers show up in table format and cant seem to get it right! this is what I have so far:

    int main(void)
    {
    int n;

    printf(" \tA...
Results 1 to 18 of 18