Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Forum » x-Forum » Question

Changing numbers to Words-CppBuzz-Forum

Hi dear programmers, I need help from your great C coding knowledge. Task that I am stuck on I have to write a function ( not whole code only function, there is already main) to change numbers in some string to words. For example input is I am 15 years old and output is I am fifteen years old. or 1200 is smaller than  123457 => one thousand one hundred is smaller than  one hundred and twenty three thousand four hundred and fifty seven. If there are something after number it has to keep it like that. For example, "He is 9. => He is 9." (because of dot after 9, it should keep it as it is). I am grateful to anyone who is willing to help me. 

Posted by Varrion 2020-12-04 11:25:20

No Ans Posted

Please login to comment

Log In


Ask New Question