Who can write a C program to accept a number and convert the number into words,the program should have any number less than10000 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Who can write a C program to accept a number and convert the number into words,the program should have any number less than10000

I'm new to C-language and was told to solve this,who can help,is there a built-in function for conversion

29th Nov 2021, 6:40 AM
Omopariola Faith
3 Answers
+ 2
Try your luck by searching for examples and/or inspirations in Code Playground, it is where the codes are. Alao, there's no built-in function for conversion of number -> spelled number.
29th Nov 2021, 7:10 AM
Ipang
+ 3
Please always tag the language you're asking about. https://code.sololearn.com/W3uiji9X28C1/?ref=app
29th Nov 2021, 7:17 AM
Simon Sauter
Simon Sauter - avatar
+ 1
I did this code in Javascript to convert a number to a Roman Numeral. You could use/adjust the structure to convert a number to words in C https://code.sololearn.com/W2OILqnj437P/?ref=app
29th Nov 2021, 10:17 AM
Paul K Sadler
Paul K Sadler - avatar