#include <stdio.h>

int main() {
    int a, b=20;
    for(a=0; a<=b; a++) {
        printf("%d^2 = %d\n", a, a*a);
    }
}

Embed on website

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