InterviewSolution
Saved Bookmarks
| 1. |
The sum of the integers from 1 to 100 that are divisible by 2 or 5 is : |
|
Answer» 3000 Sum of integers divisible by `5 = 20/2 [5+100] = 1050` Sum of integers divisible by `10 = 10/2[10+100] =550` `rArr` Sum of integers divisible by 2,5 is = (2550 + 1050) -550 = 3050 |
|