[JAVA] Write a program that reads a number between 1,000 and 999,999 from the user and prints it with a comma separating the thousands. Here is a sample dialog;
Please enter an integer between 1000 and 999999: 23456
Output: 23,456

Solved
Show answers

Ask an AI advisor a question