Repeat quantity (1) to sculpture extinguished the complete of (N must be an nondescript complete) Complete = 1 + 3^2 + 5^2 + + N^2 Try your program with N = 99
The behindcited program calculates the complete of those completes which produces balance behind dividing by 2.
So if my input N=5 i.e. complete of squares of 1,3,5,7,9
Output = (1 + 9 + 25 + 49 + 81) = 165
Here is the program
printf(“nENTER INTERGER NUMBER : “);
printf(“nTHE SUM OF SQUARE OF ODD NOS. TILL %d NO. IS : %d”,NUM,SUM);