فایل متنی
فایل cpp
#include "stdafx.h"
#include "iostream"
using namespace std;
//alidoran
int main() {
int x,y=0;
cout << "please enter your number : ";
cin >> x;
while (x > 0) {
y += (x % 10);
x /= 10;
y *= 10;
}
cout <<"mirror of your number is : "<< y/10<<endl;
system("pause");
return 0;
}