Question: Write a program called PrintNumberInWord which prints ONE, TWO,... , NINE, OTHER if the int variable number is 1, 2,... , 9, or other, respectively
Write a program called PrintNumberInWord which prints "ONE", "TWO",... , "NINE", "OTHER" if the int variable "number" is 1, 2,... , 9, or other, respectively (Use a "nested-if...else" statement).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
