C program to print numbers