So I have to write a function that returns the square and cube of a number. The function must:
Prompt the user for the number
Print the number, its square, and its cube

The prompting, calculation of square and cube, and printing must all be done by calling separate functions:
num_prompt() prompts and gets the number from the user
sq_cube() calculates the square and cube of the number
print_sq_cube() prints out the square and cube of the number

I don't know what's wrong...this is what i have...I can't get it to find my user inputted number and calculate its square and cube to print it...heres what i have so far...
Code:
#include<stdio.h>
#include <math.h>
double num_prompt(double base);
double sq_cube(double square, double cube);
double print_sq_cube(double base, double square, double cube);
int main(void)
{
    double num_prompt(double base);{
double base;
    printf("Enter the base:\n");
    scanf("%d", &base);
}
    double sq_cube(double square,double cube);{
double base,square,cube;
    for(base;base;base++);        
        square= pow(base,2);
        cube= pow(base,3);
        }
    double print_sq_cube(double base, double square, double cube);{
    double base;
        printf("Base Squared Cubed\n"
           "---- ------- -----\n");
        scanf("%d",&base);
        printf("%&base,&square,&cube\n");
        
    }
}