/* Inputs a number and displays its square. */ #include #include "calc.h" main() { int x; printf("Enter an integer value: "); scanf("%d", &x); printf("\nThe square of %d is %ld.", x, sqr(x)); return(0); }