Search:

Type: Posts; User: Tokalosh

Search: Search took 0.00 seconds.

  1. Thread: fibonacci

    by Tokalosh
    Replies
    1
    Views
    1,944

    fibonacci

    Hi. im trying to sum even fibonacci numbers only. ie. 0 2 2 4 6 10 16 ect.. could someone indicate where i've gone wrong.



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

    it was a simple loop that had to be added.



    #include <stdio.h>
    #include <stdlib.h>
    /* summing the first 1000 numbers of multiples 3 & 5 */


    int main ()
  3. Find the sum of all the multiples of 3 or 5 below 1000.

    NEVERMIND solved it. Dont know how to take this down.

    if i put in 10, i get a return of 24 instead of 23, can someone tell me where im going wrong.



    #include <stdio.h>
    #include <stdlib.h>
  4. Replies
    1
    Views
    2,288

    building a password

    Hi.

    Could someone please explain to me why this is wrong and how to fix it. thank you.





    int main()
    {
  5. Replies
    7
    Views
    3,067

    Thank you for the help.

    Thank you for the help.
  6. Replies
    7
    Views
    3,067

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    float b;
    float a;
    float c;
    float z;
    float r;
    int main()
    {
  7. Replies
    7
    Views
    3,067

    Ok I put the header in and changed the printf but...

    Ok I put the header in and changed the printf but still doesn't work.
  8. Replies
    7
    Views
    3,067

    quadratic equation

    Hi. the return values are not coming out properly. Any reasons why would be a big help.


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


    float b;
    float a;
    float c;
  9. Replies
    4
    Views
    3,150

    haha i can't believe i missed that, thanks man!

    haha i can't believe i missed that, thanks man!
  10. Replies
    4
    Views
    3,150

    shorthand if else

    Hi.
    my code isnt running, i think it may have something to do with the first printf and scanf functions. How do i transfer the inputted number to the following statement and have it run properly.
    ...
  11. Thread: New to C

    by Tokalosh
    Replies
    3
    Views
    2,267

    thank you.

    thank you.
  12. Thread: New to C

    by Tokalosh
    Replies
    3
    Views
    2,267

    New to C

    Hi. Could someone tell me if this is possible? If so why isnt it running?
    I want to know if you can use if statements in cases.


    int main(void);
    {
    int x;
    printf("please enter a...
Results 1 to 12 of 12