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

Can we assign string to char pointer?

590


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

643


FILE PROGRAMMING

1781


Why isn't it being handled properly?

647


What is getch() function?

654






What is a good way to implement complex numbers in c?

598


What is define directive?

644


What header files do I need in order to define the standard library functions I use?

543


Write a program for finding factorial of a number.

637


What is masking?

641


Can we declare variable anywhere in c?

539


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

1455


What is a substring in c?

590


What is static identifier?

706


What is meant by type specifiers?

663