#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,identity;
printf("enter the value a:");
scanf("%d",&a);
printf("enter the value b:");
scanf("%d",&b);
identity=(a*a)+(b*b)+(2*a*b);
printf("the required value is:");
printf("%d",identity);
getch();
return(0);
}
No comments:
Post a Comment