// 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 average is %d\n", (a + b)/ 2); return 0; }