Write a program that asks the user for a positive integer N (Handle cases when the user provides a negative number) and A. If input number N is 0 9, prints “Greater than 9” You would need to hard...

Write a program that asks the user for a positive integer N (Handle cases when the user provides a
negative number) and
A. If input number N is 0 <= N <= 9, prints out lowercase English word corresponding to
the number
B. If input number N > 9, prints “Greater than 9”
You would need to hard code the words for each digit up to nine
a. Example 1
i. Input
• Please enter number: 9
ii. Output
• nine
b. Example 2
i. Input
• Please enter number: 42
ii. Output
• Number greater than nine
Sep 22, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here