Question: In JAVA Write a method that prompts for a whole number. If the number is less than 10, print ONE DIGIT; if the number is
In JAVA
Write a method that prompts for a whole number. If the number is less than 10, print ONE DIGIT; if the number is greater than or equal to 10 and less than 100, print TWO DIGITS; if the number is greater than or equal to 100 and less than 1000, print THREE DIGITS; otherwise print MANY DIGITS.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
