For some values (for example, 20), the intName method returns a string with a leading space (

Question:

For some values (for example, 20), the intName method returns a string with a leading space (" twenty"). Repair that blemish and ensure that spaces are inserted only when necessary. There are two ways to do this. Either ensure that leading spaces are never inserted, or remove leading spaces from the result before returning it.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: