Write a program which take two values and print their sum of their square in C.
#include<stdio.h>
#include<conio.h>
void main()
{
int n1,n2,sum,squre;
printf("Enter the Number 1st = ");
scanf("%d",&n1);
printf("Enter the Number 2nd = ");
scanf("%d",&n2);
sum=n1+n2;
squre=sum*sum;
printf("Sum of their squre = %d",squre);
getch();
}
OUTPUT : -