Write a program in c to input a 5 digit number and print it
in words.

Answer Posted / manoj kumar

the program u wrote is wrong because it prints in reverse
means if u gave 12345 the output will be five four three
two one like this
for getting correct output the given number would be
reversed and we write code for that reversed number.

Is This Answer Correct ?    27 Yes 30 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by invalid pointer arithmetic?

821


Do you have any idea about the use of "auto" keyword?

856


What is a constant?

810


how to find anagram without using string functions using only loops in c programming

2915


Explain what is the difference between a free-standing and a hosted environment?

882


What is include directive in c?

832


p*=(++q)++*--p when p=q=1 while(q<=6)

1470


Explain how can I read and write comma-delimited text?

916


Explain the process of converting a Tree into a Binary Tree.

2382


Is c programming hard?

769


What is class and object in c?

803


Is c a great language, or what?

839


What are keywords c?

785


Explain how are portions of a program disabled in demo versions?

854


What are the different types of C instructions?

959