Question: need help with my function i am trying to add...
Need help with my function. I am trying to add the variable 'sum' to the output of the function 'Terms'. I keep getting the error message "Too few arguments too function Term". So, there is something wrong with my function and how I am adding it to sum.
Please explain so I can learn more.
int Term( int i, int sum)
if (i% 2==1)
int n, sum, i;
sum = 0.0;
for (i=1; i<=n; i++)
printf("%5d: %.14f\n", i, sum);