/* To find the Fifth root of the sum of the squares of the first 100 ODD numbers ONLY */ #include #include int main() { long i,oddnum=1,sqrnum,sum=0; for (i=1; i<=100; i++) { sqrnum=oddnum * oddnum; // Square the ODD number sum+=sqrnum; // Add Square value to the sum oddnum+=2; // Get the next ODD number } printf("\nThe result is : %ld,%.2f",sum,pow((double)sum,(1.0/5.0))); return 0; } /* End of Main */