Sum of first n natural mumbers divisible by 6 or 8
Answers
Answered by
3
Answer:
Input : N = 7 Output : 19 sum = 2 + 4 + 6 + 7 Input : N = 14 Output : 63 sum = 2 + 4 + 6 + 7 + 8 + 10 + 12 + 14
Step-by-step explanation:
ok
Naitik411:
kya hua
Similar questions