GVA SUPPORT

³ 1308344195
Text:
	Բ =  ..

 :/*
 . 525.
         .
*/
#include <iostream.h>
using namespace std;
bool f525(int x){
     int x1=x;
     int x2=x*x;
     bool rez = true;
     while (x1!=0){
           if (x1%10!=x2%10) rez=false;
           x1/=10;
           x2/=10;
     }
     return rez;
     
}
int main(){
    int x;
    cout<<" Enter X : ";
    cin>>x;
    cout<<" x = \t"<<x<<" x*x = "<<x*x<<endl;
    cout<<" RESULT = "<<f525(x)<<endl;
    system("PAUSE");
}


====================================