Search:

Type: Posts; User: fyoung91

Search: Search took 0.00 seconds.

  1. Replies
    40
    Views
    11,893

    Loop for 1/3+1/5+1/7...

    Trying to set up a loop to count in the following way;
    Want it to count 1/3+1/5+1/7...... for a set number of terms

    So far its just confusing me as to how I could set this up. Is it possible to...
  2. Replies
    15
    Views
    1,788

    Solved the problem I was having, thanks for the...

    Solved the problem I was having, thanks for the suggestions.
  3. Replies
    15
    Views
    1,788

    Had a go, and yeah forgot the line you mentioned,...

    Had a go, and yeah forgot the line you mentioned, thanks.
    Keep getting 'Illegal use of floating point' now though in line 13, the equation.




    #include <stdio.h>
    #include <math.h>

    int main
  4. Replies
    15
    Views
    1,788

    Newbie help please.

    Task: Calculate a math problem with an independent variable entered by the user, in c++;

    The problem I'm having is how to use the variable part, so if the equation was (2^K)/(20*K), what is the...
  5. Replies
    3
    Views
    3,869

    Odd/Even counter.

    I have written a program to count the number of even and odd numbers entered from a list; but currently it wont work correctly, think its my modulus operators in the wrong place, but not 100%. Pretty...
  6. Replies
    3
    Views
    1,396

    Reverse my input - help??

    Hi,
    New here and trying to solve a simple problem but getting stuck. If I input 10 separate integers, I would like the program to revers them for the output.
    Problem I'm having is at present this...
Results 1 to 6 of 6