How to change the o/p from { two zero four eight } to { two thousand fourty eight }


make changes in this code with explanation

It totally depends on you that how you say a word . 20148 can be said as Twenty Thousand One hundred Forty Eight.

So youll have to assign values to each digit. For example you’ll have to say that what will you say a value with 15 zeros( 1000000000000000) Then only this can be solved .

Can you pls make required change in the code

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.