結果 : sum of digits of a number in java using while loop