Computer Science, asked by krishadrij, 9 months ago

WAP to print the following pattern:-
1. s= 1-2+3-4 .... n term
2. 3, 8, 18, 38 ... 10 terms
3. 1000, 729, 512 ... 1
4. s=1+ 1/2! + 1/3! +1/4! ... n term
5. s= a - a/2 + a/4 ... n terms

Answers

Answered by abhisheksinghr59
1

Answer:

WAP to print the following pattern:- 1. s= 1-2+3-4 .... n term 2. 3, 8, 18, 38 ... 10 terms 3. 1000, 729, 512 ... 1 4. s=1+ 1/2! + 1/3! +1/4! ... n ...

Similar questions