Sum of n numbers in java using do while loop July 8, 2019 16 32 64 128 Sum of n numbers in java using while loop Sum of n even numbers in java using while loop How to calculate sum of digits in java