#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);
}
#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);
}
https://www.youtube.com/watch?v=ykTaoik98yo
No comments:
Post a Comment