Find the sum of user given range | java Program

Опубликовано: 10 Февраль 2026
на канале: Java4u
48
0

5. Find the sum of user given range






ex1 from 1 to 10


1+2+3+4+5+6+7+8+9+10 = 55


ex2 from 51 to 60


51+52+53+54+55+56+57+58+59+60 = ???




#java
#javaprogram
#coding
#javainterview
#codingtest