Search:

Type: Posts; User: dKarayof

Search: Search took 0.01 seconds.

  1. nevermind i added a getchar(); and it all worked...

    nevermind i added a getchar(); and it all worked out. Thank you sooo much
  2. Thank you so much! This code is exiting...

    Thank you so much!

    This code is exiting however before I have a chance to read the output. Is it the compiler I'm using?
  3. i dont think i did

    i dont think i did
  4. I don't get any of those errors. My professor...

    I don't get any of those errors. My professor specified to use long double when I went to office hours and told me to add the "l" inside the %f
  5. I want to know why the only input that yields an...

    I want to know why the only input that yields an output is 90 for the degrees. If I type anything else in the program yields nothing. I think my code is correct when deducing whether or not the...
  6. Triangle coding (pretty much finished just need a quick tip)

    I have written the following code.
    Given two sides and an angle, calculate the third side and the remaining two angles in the triangle. Then output if it is right, obtuse or acute.

    My problem is...
  7. Replies
    9
    Views
    2,252

    #include#include #define PI...

    #include<stdio.h>#include<math.h>
    #define PI 3.14159265


    int main(void)
    {
    /*Creat file pointers*/
    FILE *fin *fout;
    float r, c, area, volume, stepsize;
    int steps2take;
  8. Replies
    9
    Views
    2,252

    I fixed some of the problems you described... I...

    I fixed some of the problems you described... I feel like my for loop looks exactly how it should I'm not sure why it isn't written to repeat however many times the user specified... isnt that...
  9. Replies
    9
    Views
    2,252

    and in the for loop i changed "i" to "r" for the...

    and in the for loop i changed "i" to "r" for the radius
  10. Replies
    9
    Views
    2,252

    I'm not sure what questions to ask... firstly,...

    I'm not sure what questions to ask... firstly, how do I get it to have an output table like that one (in the program) and also, why isn't it outputting to a txt file like I programmed it to do? My...
  11. Replies
    9
    Views
    2,252

    I also have the following, but I'm not sure how...

    I also have the following, but I'm not sure how useful it would be or how to relate it to the previous post

    #include<stdio.h>#include<math.h>
    #define PI 3.14159265


    int main(){


    ...
  12. Replies
    9
    Views
    2,252

    Creating a table and I/O file help?

    I'm a bit confused by a problem on some homework for my programming test. I'm not really understanding what the question is asking though, or how to apply it to the text file I'm supposed to be...
Results 1 to 12 of 12