#include <stdio.h> int main() { int a=20; int b; for(b=0; b<=a; b++) { printf("%d^2 = %d\n", b, b*b); } }
To embed this project on your website, copy the following code and paste it into your website's HTML: