Hey, first off good effort on this site and message boards i've found the site particularly helpful as a resource for C Programming, and it looks like you have a respectable community here.

So down to my problem. I've been working on a C Programming assignment due in tomorrow, I've hopefully successfully attached a txt file that gives you the background to the assignment for reference.

This is the code i have so far:

My problems start at step 4 in the pseudo code (included in the text file) mainly because i don't especially understand what it means. Any help with the "estimate" variable and "pow3" would be greatly appreciated (i.e. how to actually make the calculation)Code:/*Preprosessor directives*/ #include <math.h> #include <stdio.h> void main() { /* Declarations*/ int pow3 = 1; float estimate = 1; float root; int k =1, N; /*where N = number of iterations*/ float sign; /*Code for iterations*/ N <= 80; /*number of iterations is less than or equal to 80*/ printf("Input number of iterations: "); scanf("%d",&N); printf("N = %d\n", N); printf("root = %f\n", root); } /*If, else and for statements for k with respect to sign and number of iterations(N)*/ { for (k = 1, k<N; k++) if (k%2 == 0) { sign = 1; } else { sign = -1; } } /*Calculations for estimate output from increasing powers of k*/

I've also attached an image of the formulae I have to get my C Program to calculate, (wouldn't copy into txt document)

Basically i'm seeking help for code for "Calculations for estimate output from increasing powers of k" and clarification that the code before is correct. Thanks.