This function will find the cube of the inputed number.
void cube(int num){
int calculatedValue;
calculatedValue = num * num * numl;
printf("The cube of %d is %d", num, calculatedValue);
}
Note: This is only a function and the (num) variable is already inputed in the main and passed down to this fucntion