Computer Science, asked by titch, 5 days ago

Please help how to do this in loop, c

Attachments:

Answers

Answered by MohammedAazam07
0

Input : a = 2 and n = 5

Output : 6.26667

We get result by adding

2^1/1! + 2^2/2! + 2^3/3! + 2^4/4! +

2^5/5!

= 2/1 + 4/2 + 8/6 + 16/24 + 32/120

= 6.26667

Similar questions