Sum of Three-Digit Number's Digits

# Introduction In this programming challenge, we will implement a Java program that calculates the sum of the digits of a three-digit integer. We will use the `%` and `/` operators to extract each digit and then calculate the sum. The objective is to write a program that prompts the user to enter a three-digit number, calculate the sum of its digits, and display the result.

|60 : 00

Click the virtual machine below to start practicing