/* Inputs a number and displays its square. */

 #include <stdio.h>
 #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);
 }