Computer Science, asked by poojasharda1567, 1 year ago

Write a program in c input two numbers and display the square of their sum

Answers

Answered by msleo
5
#include <stdio.h>

int main ()
{
int x, y;
printf ("Input first number: ");
scanf ("%d", &x);
printf ("Input second number: ");
scanf ("%d", &y);
printf ("Their square is %d", (x+y)**2);
return 0;
}
Similar questions