编辑代码

#include <stdio.h>
int main () {
    int i,j;  //i is the upper and the j is the lower limit.
    int m;
    char a,b,c;
    a= "orignal", b="square", c="cubic";
    printf("Please enter the upper and lower limit:");
    scanf("%i %i", &i, &j);
    printf("|%10c|%10c|%10c|\n",a,b,c);
    for (m=j; m<=i; m++){
        
        printf("|%10i|%10i|%10i|\n", m, m*m, m*m*m);
    }
}