write a program to input w teree digit number and display all the digits by
using arithmetical operators
Sample Input: 472
Sample Output: 4,7,2 what is the comment of this program
Answers
Answered by
0
Answer:
answer:
BreakIntegerExample2.java
import java.util.Scanner;
public class BreakIntegerExample2.
{
public static void main(String[] args)
{
//object of the Scanner class.
Scanner sc = new Scanner(System.in);
System.out.print("Enter a six-digit number: ");
Explanation:
please mark as Brainliest
Similar questions