#include

  1. G

    urgent c help!!

    In a class assignment, i have to write a cprogram to calculate the sum of the following series: 1/1!+3^2/2!+5^3/3!+...... for that i wrote the following program. #include <stdio.h> #include <math.h> #include <ctype.h> main() { float sum,term; FILE *pt; pt=fopen("series", "w+")...
  2. G

    can you tell me what mistake i made?

    hi, i was writing a c program for my class assignment, and i got stuck. i paste it below. it appears to me that the program structure is ok, but when i run it, it does'nt give any output. i have also tried by taking the last 'printf' statement out of the for loop, but then the out put is not...
Top Bottom