Sum: 1|(factorial) Series - Online Code

Description

This code performs the sum of 1/(Factorial) series upto 17 terms.

Source Code

#include <stdio.h>
#include <conio.h>
long int factorial(int n);
void main()
{
int n,i;
float s,r;
char c;
clrscr();
repeat : printf("You have this series:- 1/1! + 2/2! + 3/3! + 4/4! ...");
print
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

Kushal Singh on 2009-04-06 11:54:45 wrote,

nice code man...........
keep it up