Write a program that asks an integer number and display the number in words in C PROGRAMMING.
1
Expert's answer
2012-09-07T10:37:33-0400
#include<stdio.h> #include<conio.h> void main(void) { int rev,n, clrscr(); printf(" enter any number"); scanf("%d",&n); temp=n; while(n>0) { rem=temp; rev+=rem*10; temp=temp/10; choice=rev; switch(choice) { case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; case 4: printf("four"); break; case 5: print("five"); break; case 6: printf("six"); break; case 7: printf("seven"); break: case 8: printf("eight"); break: case 9: printf("nine"); } getch();
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment