hey guys.

a simple help would do.

on this problem, it asked to decode the number to a value.

the problem here now is,

how would you distinguish 1 and 4 from 14?

please help me.

Code and Decode.Create a program that asks for a value of n and generates a decoded version of the per value version of n. Use a do-while looping statement.

Ex:

Codes: a = 1; b = 2; c = 3; d = 4; e = 5; and so on

n = 145

output: ade

Note:

1) do not use more than 1 variable to get the list of number values (i.e., n)

2) do not use arrays!

3) you will be the one to define the coded version of the number values

4) use only a single class and a single method, that's main()