Question: For this assignment, you are tasked with writing a command-line Java program that reads from the command line a single-digit number and outputs its English
For this assignment, you are tasked with writing a command-line Java program that reads from the command line a single-digit number and outputs its English name (0 = zero, 1 = one, etc). Correctly compiles under the UNIX command line.
When run, reads a single-digit non-negative number from the command line, and then outputs its English name in all small letters. For example, 1= one
PS: An important point here is that your assignment shouldn't use args[0] to get the number, it should use the Scanner class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
