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) a "nested-if" statement;
(b) a "switch-case" statement. (
c) Arrays Implement all three version
Answers
Answered by
0
i added attachment have a look
i used python
Attachments:
Similar questions