Menu bar
Follow
Home
Python
Blogging Tips
Wordpress
Blogger
Internet
CS Interview
MATLAB
How To
All rights are reserved by Niteesh Kumar.. Theme images by
Storman
. Powered by
Blogger
.
Report abuse
Followers
Total Pageviews
Blog archive
Blog archive
November (6)
October (1)
April (1)
January (1)
August (1)
May (2)
April (1)
November (1)
July (6)
May (1)
February (3)
January (1)
November (1)
October (1)
April (2)
March (1)
February (8)
January (6)
December (3)
September (3)
August (2)
March (1)
January (3)
November (2)
October (2)
September (4)
May (3)
April (4)
March (2)
Follow by Email
Labels
Algorithm
(4)
blogging tips
(5)
C tutorial
(3)
c_code
(11)
c_techniques
(2)
code
(29)
Computer Graphics
(9)
CSS
(2)
data structure
(3)
divide and conquer
(2)
factorial
(1)
Git
(1)
how_to
(11)
internet tips
(3)
Interview questions
(4)
linked list
(2)
Machine learning
(1)
MATLAB
(1)
Number theory
(4)
OOPs
(1)
patterns
(3)
Python
(5)
react-native
(6)
Sorting
(1)
SQL
(1)
strings
(2)
web develoment
(1)
WordPress
(3)
Translate
Popular Posts
Program to implement 3D transformation-Translation
Triangle scaling in computer graphics
Program for 3D transformation-Scaling
Mid point ellipse drawing algorithm in c++
Flood fill algorithm in c++
Pages
Home
Data structure
Blogging Tips
Computer Graphics
How to
C
Algorithm
Number theory
Other
Thursday, 8 May 2014
C++ program to find the reverse of a number.
Niteesh kumar
#include<iostream.h>
#include<conio.h>
void main()
{clrscr();
intr,n,rev=0;
cout<<"enter any no.=";
cin>>n;
do
{r=n%10;
rev=10*rev+r;
n=n/10;
}
while(n!=0);
cout<<"reverse no. is="<<rev;
getch();
}
OUTPUT
enter any no.=54
reverse no. is=45
0
on: "C++ program to find the reverse of a number."
Subscribe to:
Post Comments (Atom)
Follow Us On Facebook
The GEEK mode
Search This Blog
More Topics
Algorithm
(4)
blogging tips
(5)
C tutorial
(3)
c_code
(11)
c_techniques
(2)
code
(29)
Computer Graphics
(9)
CSS
(2)
data structure
(3)
divide and conquer
(2)
factorial
(1)
Git
(1)
how_to
(11)
internet tips
(3)
Interview questions
(4)
linked list
(2)
Machine learning
(1)
MATLAB
(1)
Number theory
(4)
OOPs
(1)
patterns
(3)
Python
(5)
react-native
(6)
Sorting
(1)
SQL
(1)
strings
(2)
web develoment
(1)
WordPress
(3)
Submit
Subscribe to Newsletter
Complete the form below, and we'll send you our recent update.
Recent Posts
Pages
Home
Privacy Policy
How to
Computer Graphics
0 on: "C++ program to find the reverse of a number."