Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started