I am working on printing a loop statement.
I worked on this to try the concept:
#include "stdafx.h"
#include "stdio.h"
int main()
{
int times,num;
for (times=1; times<3; times++)
{
for (num=1; num<5; num++)
{ printf("%d",num); }
printf("\n");
}
return 0;
}
What I need is to print out
012
0123
012
01
01
01
01
but cannot get it to work so that is why I worked on the example above.
Thanks for your help!