- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
public class Solution
{
public static void main(String[] args)
{
int a = 1, b = 2, c = 3, d = 4, e = 5, f = 6, g = 7, i = 8, j = 9, k = 10;
System.out.println( + ( a + b ));
System.out.println( + ( a + b + c ));
System.out.println( + ( a + b + c + d ));
System.out.println( + ( a + b + c + d + e ));
System.out.println( + ( a + b + c + d + e + f ));
System.out.println( + ( a + b + c + d + e + f + g ));
System.out.println( + ( a + b + c + d + e + f + g + i ));
System.out.println( + ( a + b + c + d + e + f + g + i + j ));
System.out.println( + ( a + b + c + d + e + f + g + i + j + k ));
}
}