#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,identity;
cout<<"enter the value a:";
cin>>a;
cout<<"enter the value b:";
cin>>.b;
identity = (a * a) + (b*b)-(2*a*b);
cout<<"the required value is:";
cout<<identity;
getch();
return(0);
}
No comments:
Post a Comment