Page

Sunday, 17 June 2018

program to find (a-b)2 in c

#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);
}


for video click on link given below

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

No comments:

Post a Comment