hi,i need a program that which prints the given number in words.
ie
if we enter 0123
the output will be as "ZERO ONE TWO THREE"[/B]
ie
if we enter 0123
the output will be as "ZERO ONE TWO THREE"[/B]
switch(n){
case: 0;
cout<<"zero";break;
// the remaining cases follow on here
}
if(n==1)fprint("one");
else if(n==2)fprint("two");
Comment