Search:

Type: Posts; User: roelof

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: calculating e

    by roelof
    Replies
    11
    Views
    2,667

    Hello, Everybody thanks for the help. I have...

    Hello,

    Everybody thanks for the help.
    I have to use loops because im now reading the chapter about loops.

    Roelof
  2. Thread: calculating e

    by roelof
    Replies
    11
    Views
    2,667

    Hello, I have simplified things because they...

    Hello,

    I have simplified things because they don't work.

    The right formula is : 1 + 1/1 + 1/(1*2) + 1/ (1*2*3) + 1/ (1*2*3...*n)

    Roelof
  3. Thread: calculating e

    by roelof
    Replies
    11
    Views
    2,667

    calculating e

    hello,

    I have to calculate the mathetical e.
    So I have this :


    */


    #include <stdio.h>
  4. Replies
    15
    Views
    1,882

    Hello, if (teller > 7) { ...

    Hello,



    if (teller > 7) {
    begin = 0 ;
    }


    Was a left over from a another try.
  5. Replies
    15
    Views
    1,882

    I understand that Roelof

    I understand that

    Roelof
  6. Replies
    15
    Views
    1,882

    Hello, When I know how to do that in vim I...

    Hello,

    When I know how to do that in vim I can do that.

    Roelof
  7. Replies
    15
    Views
    1,882

    I only have to know if the outcome will be 0...

    I only have to know if the outcome will be 0 because then I need to do a newline.
    The other numbers are not important


    Roelof
  8. Replies
    15
    Views
    1,882

    Oke, I have changed it and now getting this...

    Oke,

    I have changed it and now getting this output:


    uitkomst : 2.000000
    1 uitkomst : 3.000000
    2 uitkomst : 4.000000
    3 uitkomst : 5.000000
    4 uitkomst : 6.000000
  9. Replies
    15
    Views
    1,882

    Hello, Another thing I don't get. I have now...

    Hello,

    Another thing I don't get.
    I have now this :




    #include <stdio.h>
    int
  10. Replies
    15
    Views
    1,882

    Thanks. Now I can try to solve the other...

    Thanks.

    Now I can try to solve the other problems.

    Roelof
  11. Replies
    15
    Views
    1,882

    calender problem [solved]

    hello,

    I have to make a calender in C.
    The user has to enter the number of days in that monts and which day the month starts.
    So I made this :


    /*
    *...
  12. Replies
    12
    Views
    1,234

    For me there is no problem Roelof

    For me there is no problem

    Roelof
  13. Replies
    12
    Views
    1,234

    Oke, I think I choose for readable code. I...

    Oke,

    I think I choose for readable code.
    I will look if I can adapt the template that the vim plugin uses.

    Roelof



    Roelof
  14. Replies
    12
    Views
    1,234

    Hello Commontator, You are right. I was...

    Hello Commontator,

    You are right.
    I was thinking way to far.
    This is mu solution :


    #include <stdio.h>
    #include <stdlib.h>
  15. Replies
    12
    Views
    1,234

    Hello, I have looked back and use there a...

    Hello,

    I have looked back and use there a array of chars. char[++] = number%2
    I wonder if this can be working without a array because in this nook array are not described.
    I agree with a array...
  16. Replies
    12
    Views
    1,234

    how can I do this withhout arrays or pointers

    Hello,

    I have this exercise :

    Make a programm where the user enters a number and the programm reverse the number.
    I must work with 2 ,3, 4 or more numbers.

    Hint : Use a do loop that...
  17. Thread: Calculating GCD

    by roelof
    Replies
    15
    Views
    4,154

    you are welcome Roelof

    you are welcome

    Roelof
  18. Thread: Calculating GCD

    by roelof
    Replies
    15
    Views
    4,154

    Commontator: Here 1 link I found the book : C...

    Commontator:

    Here 1 link I found the book : C Programming: A Modern Approach, 2nd Edition (Repost)

    Roelof
  19. Thread: Calculating GCD

    by roelof
    Replies
    15
    Views
    4,154

    Hello, Yep, a lot of fun. I can send you a...

    Hello,

    Yep, a lot of fun.
    I can send you a pdf copy of the book im following.

    Next chapter is about the data types with a lot of execting exercices.

    Roelof
  20. Thread: Calculating GCD

    by roelof
    Replies
    15
    Views
    4,154

    next 2 assigments are : 1) Write a program...

    next 2 assigments are :

    1) Write a program that's ask a user to enter a fraction, then reduces the fraction to the lowest term.

    That's a easy one. I only have to change some things in the GCD...
  21. Thread: Calculating GCD

    by roelof
    Replies
    15
    Views
    4,154

    Oke, and any remarks on my program where I...

    Oke,

    and any remarks on my program where I can learn things.

    Roelof
  22. Thread: Calculating GCD

    by roelof
    Replies
    15
    Views
    4,154

    Commontator : I don't get it what you mean...

    Commontator :

    I don't get it what you mean with your message.

    Roelof
  23. Thread: Calculating GCD

    by roelof
    Replies
    15
    Views
    4,154

    oke, Let's say we use the numbers 210 and 57...

    oke,

    Let's say we use the numbers 210 and 57
    So uitkomst will be 210 / 57 = 3
    rest will be 210 - 3*57 = 39
    tmp = 57
    getal2 = 57
    getal1= 39
    uitkomst = 57 / 39 = 1
    rest = 57 - 39 = 18
  24. Thread: Calculating GCD

    by roelof
    Replies
    15
    Views
    4,154

    Calculating GCD

    Hello,

    I have made a programm which calculated the GCD of two numbers.




    #include <stdio.h>
  25. Thread: loop problem

    by roelof
    Replies
    9
    Views
    1,256

    Hello, Oke, I will study it. Everyone...

    Hello,

    Oke,

    I will study it.
    Everyone thanks for the help and patience.

    Roelof
Results 1 to 25 of 230
Page 1 of 10 1 2 3 4