// Square two numbers and sum their squares. // Written by: Abiram Nadarajah // Written as a COMP1521 lecture example #include int main(void) { int a, b; printf("Enter a number: "); scanf("%d", &a); printf("Enter another number: "); scanf("%d", &b); printf("The sum of the squares of %d and %d is %d\n", a, b, a*a + b*b); return 0; }