Write a program to input a number and print all its digits in words as in the given
example
Eg: Input: 3756
Output : Three Seven Five Six
Answers
Answered by
0
Answer:
int n;string str=\0;
cin>>n;
while(n>0)
{r=n%10;
if(r==0)
str=``zero ``+str;
.
.
. //similarly do unto nine
.
.
n=n/10;
}
Similar questions
Computer Science,
2 months ago
Math,
2 months ago
English,
5 months ago
Computer Science,
5 months ago
Math,
11 months ago
Math,
11 months ago