ex.. i will input 700.. the output must be "Seven Hundred"..
another example..... 865.. the output must "Eight Hundred Sixty Five"... help me plss..... im using TURBO C++ ide.. just email your answer.. tnx!!
Plss help me.. make a program that will accept a number from 0-9999.. display the output with word..?
#include%26lt;std.h%26gt;
main()
{
int a;
printf("enter a number");
scanf("%d",%26amp;a);
switch(a)
{
case 1 : printf("one");
break;
case 2:printf("two");
break;
:
:
:
:
go on
}
getch();
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment