#include <stdio.h>
int main() {
int N = 10;
int i;
for(i=1; i<=N; i=i+1) {
printf("%d^2 = %d\n", i, i*i); //printf("%2d^2 = %3d\n", i, i*i); 2 e 3 usati per le spaziature
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: