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...
Type: Posts; User: fyoung91
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...
Solved the problem I was having, thanks for the suggestions.
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
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...
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...
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...