Question: in Java please 1. P5.5 For some values (for example, 20), the intName method returns a string with a leading space (twenty). Repair that blemish

in Java please
1. P5.5 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. Hint: 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
