#include <stdio.h>

int z=4, k=15;

int main() {
    int w,x,y;
    for(w=0; w<=k; w++) {
        printf("%d^%d = ", z, w);
    x=1;
        for(y=0; y<w; y++) {
            x=x*z;
        }
        printf("%d\n", x); 
    }
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: