C program to find square and cube of given number

C program to find square and cube of a given number: