/* Realize a program that prints as output numbers between 0 and n (with n>0). */ #include int main() { unsigned int i=0, n; printf("Number of elements: "); scanf("%d", &n); for(i=0;i<=n;i++){ /* This instruction can be equivalently written as for(;i<=n;i++), but only because the i variable has been initialized before */ printf("%3d\n", i); } return 0; }