Question: Assume that a user inputs two integers, a and b . Your task is to print the English representation, in lowercase, for each integer in
Assume that a user inputs two integers, a and b Your task is to print the English representation, in lowercase, for each integer in the interval a b Follow these rules:
If the integer is between and inclusive print its English representation. For example, print one" for "two" for and so on
If the integer is greater than and it is an even number, print "even".
If the integer is greater than and it is an odd number, print "odd".
Your program should repeatedly take inputs for a and b until is entered for either a or b For each input pair, execute the program and print the output.
Sample Input :
Sample Output: three four five even odd
Draw the flowchart of the solution.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
