1)#include <iostream>
using namespace std;
int oglindire(int n)
{
int og=0;
while(n!=0)
{
og=og*10+n%10;
n=n/10;
}
return og;
}
2)#include <iostream>
using namespace std;
int cmmdc(int a,int b)
{
while(a!=b)
{
if(a>b)
a=a-b;
else
b=b-a;
}
return a;
}