Reverse of number

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2009
Posts: 26
Reputation: nirav99 has a little shameless behaviour in the past 
Solved Threads: 1
nirav99 nirav99 is offline Offline
Light Poster
 
0
  #21
Nov 3rd, 2009
Sorry Mr tojan...
If i had used some bad words to you...
i thought your r still ignoring me..
any way sorry and hope you got it my logic...
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 5
Reputation: Tajon Wong is an unknown quantity at this point 
Solved Threads: 0
Tajon Wong Tajon Wong is offline Offline
Newbie Poster
 
0
  #22
Nov 3rd, 2009
I accept u criticism, and nothing wrong with your words.
I learn something from both of u.
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 2
Reputation: pramodsajwan07 is an unknown quantity at this point 
Solved Threads: 0
pramodsajwan07 pramodsajwan07 is offline Offline
Newbie Poster
 
0
  #23
Nov 10th, 2009
thank you guys for your help..
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 2
Reputation: pramodsajwan07 is an unknown quantity at this point 
Solved Threads: 0
pramodsajwan07 pramodsajwan07 is offline Offline
Newbie Poster
 
0
  #24
Nov 10th, 2009
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int x,y,z;
scanf("%d",&x);
while(x>0)
{
y=x/10;
z=x%10;
x=y;
printf("%d",z);
}
printf("%d",x);
getch();
}
Reply With Quote Quick reply to this message  
Reply

Message:




Views: 889 | Replies: 23
Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC