Write a Java program to accept any number from the user and print the sum of the digits of the number. For example, if the user input is 456, the program should display the answer 15, which is 4+5+6
All Answers
need an explanation for this answer? contact us directly to get an explanation for this answer
need an explanation for this answer? contact us directly to get an explanation for this answer
total answers (1)