Hoy hice otro para invertir numeros....<br>y no se como me funciono!!<br>//programa de numeros invertidos usando do/while///<br>#include<iostream><br>#include<stdio.h><br>using namespace std;<br><br>int main () {<br>
int a, b, nume, x, y;<br>cout<<"inserte los dos digitos: "<<endl;<br>cin>>nume;<br>x=nume%10;<br>y=nume/10;do {<br> x++;<br> }<br> <br> while ( x < y );{<br> cout<<x-1<<y;<br>
}<br><br>return 0;<br>}<br>