Question: in java please , used on intellij Write code that reads in a 3-digit number and that outputs the sum of the digits. For example:
Write code that reads in a 3-digit number and that outputs the sum of the digits. For example: Answer: (penalty regime: 0,10,20,50,% ) \begin{tabular}{l|l} 1 & Scanner scan = new Scanner(System.in); \\ 2 & // TODO your code goes here \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
