#include "stdio.h" #include "conio.h" main(){ int i,j,x=0; printf("Please enter i:\n"); scanf("%d",&i); for(j=1;j<=i;j++){ if(i%j==0){ printf("%-6d",j); x++; if(x%7==0) printf("\n"); } } getch(); }