" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
in your case n = 100
sum = 100(100 + 1)/2 = 50 × 101 = 505