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
Why is c not oop?
What is extern keyword in c?
How can my program discover the complete pathname to the executable from which it was invoked?
Explain high-order bytes.
What are the 4 types of programming language?
Explain how can you tell whether a program was compiled using c versus c++?
Is main an identifier in c?
Write a code to remove duplicates in a string.
Explain how can I manipulate strings of multibyte characters?
Explain what happens if you free a pointer twice?
Explain how can I make sure that my program is the only one accessing a file?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Why is structure important for a child?
What is difference between structure and union?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration