GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  Aztec Systems  >  C

 Print  |  
Question:  Write a program to print the given integers in the corresponding wordings?Say for eg. if 123 is given as input the output should be displayed as \



September 09, 2008 13:47:05 #1
 sriranga.ch   Member Since: August 2008    Total Comments: 4 

RE: Write a program to print the given integers in the corresponding wordings?Say for eg. if 123 is given as input the output should be displayed as
 
main() { int num=123;
char c;
while(num>1)
{
c=num%10;
num=num/10;
printf("%c",c);
}
}
     

 

Back To Question