Page

Wednesday, 20 June 2018

program to find (a+b)2+(a-b)2 in c++

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

for video click on link given below

https://www.youtube.com/watch?v=ykTaoik98yo

No comments:

Post a Comment