Reverse Digits in C++

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p class=MsoNormal style="margin:0cm 0cm 10pt <span style="font-size:12pt;line-height:115% <font face=Calibri>Dear C++ experts,</font>
<p class=MsoNormal style="margin:0cm 0cm 10pt <span style="font-size:12pt;line-height:115% <font face=Calibri>I need help with this program:</font>
<p class=MsoNormal style="margin:0cm 0cm 10pt <span style="font-size:12pt;line-height:115% <font face=Calibri>Write a complete C++ program that reverses the digits of a given positive integer. For example if the user enters a positive number <b><i>123456</i></b><i> </i>, your program would print <b><i>654321.</i></b></font>
<p class=MsoNormal style="margin:0cm 0cm 10pt <span style="font-size:12pt;line-height:115% <font face=Calibri>Kind Regards,</font>
<p class=MsoNormal style="margin:0cm 0cm 10pt <span style="font-size:24pt;line-height:115%;font-family:Freestyle Script Ahmed Mahdy

View the full article
 

Similar threads

D
Replies
0
Views
107
Donald Uko
D
K
Replies
0
Views
226
Khan345
K
D
Replies
0
Views
155
Drew1903
D
Back
Top