Please help I'm trying to write a program in C using nested loops which has an output of 1-8 (newline) 2-9 (newline) 3-10 (newline) 4-11(newline) 5-12. I wrote a program but I know it has to be a simplier way and I don't think I used nested loops correctly because the first for statement is irrilevant. PLEASE HELP
include <stdio.h>
int main()
{
int k, j, i,l, m, n;
for(i=0; i<1; i++)
for(k=1; k<9; k++) printf("%d", k);
printf("\n\n");
for(j=2; j<10; j++) printf("%d", j);
printf("\n\n");
for(l=3; l<11; l++) printf("%d", l);
printf("\n\n");
for(m=4; m<12; m++) printf("%d", m);
printf("\n\n");
for(n=5; n<13; n++) printf("%d", n);
return 0;
}