Question: Code a method called backwardNumber that takes an integer number as input and returns the number but with only odd digits in backward order. The

Code a method called backwardNumber that takes an integer number as input and returns the number but with only odd digits in backward order. The input number always comes with at least one odd digit.

Your method must not use any sort of type conversion and any method/class we have not introduced.

Input: 1234567

Output: 7531

use java ,use the example input as input(do not use the scanner)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!