Saved Bookmarks
| 1. |
Write a C program to compute the sum of first n terms (n ≥ 1) of the following series using ‘for’ loop.1 – 3 + 5 – 7 + 9 - …… |
|
Answer» A C program to compute the sum of first n terms of the series 1-3+5-7+9-… is listed below: |
|