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