Commit 1ce9b3e
authored
Create To find sum of natural numbers
To test the program for a different number, change the value of num.
Initially, the sum is initialized to 0. And, the number is stored in variable num.1 parent 99cf7d7 commit 1ce9b3e
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments