Sie sind auf Seite 1von 1

long int fact(int n)

void main()

int n,x,i,k=1

oat sum=0

clrscr()

printf("Enter the term of series :")

scanf("%d",&n)

scanf("%d",&x)

i=1

i<=n

 False   True 

printf("sum of series = %f ",sum) sum=sum+(kpow(x,i)/fact(i))

getch() k=-k

long int fact(int n) i=i+2

int m

long int f=1

m=1

m<=n

 False   True 

f f=fm

m++

We use cookies and local storage to improve user experience I Understand ()

Das könnte Ihnen auch gefallen