I don't know..but I am not getting the expected output here.Code:/* Write a program to add first seven terms of the following series using a for loop: (1/1!) + (2/2!) + (3/3!) + ..... */ #include<stdio.h> main() { float result, temp_calc, num, temp, factorial; for (num=1; num<=7; num++) { for (temp=1; temp<=num; temp++) { factorial = temp*temp-1; temp_calc = (num/factorial); } } result=result+temp_calc; printf("(1/1!) + (2/2!) + (3/3!) + (4/4!) + (5/5!) + (6/6!) + (7/7!) = %f", result); }