Question: Assignment 5 - Numerical Representation Synopsis: Given 2 input numbers ( each on a line ) , output results based on the following rules: If
Assignment Numerical Representation
Synopsis:
Given input numbers each on a line output results based on the following rules:
If the input numbers' RANGE ie falls between and then output, in lowercase, it's Word representation eg one, two, three, four, five, six, seven, eight, nine
If the Range exceeds and the number is even, then output "even".
If the Range exceeds and the number is odd, then output "odd".
Finally, the assumption is that the st input nd input. So you don't have to account for a case in which the st input is greater than the nd input eg and However, if you want the extra challenge, you can write your solution to address this type of scenarioEdge Case". Otherwise, it's not required
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
