OBS! no need for nested loops as it seems!
Hi, we got this assignment from the teacher and still after trying and trying and reading I cant solve it. The mission is to display this(ASCII table):
the problem is in the looping itself.
As you see it is 6 rows and 8 columns and as Iunderstand it I need to make the program read from left to right at each line.
this is the code I am playing with right now .. any help if truly very HELPFUL!
I have tried to put the 32-78 in the outher loop but it doesnt workCode:#include <stdio.h> int main() { char ch='h'; int j; int i; for(i=1; i<=6; i++) { for(j=32; j<=78; j++) { printf(" %#o ", j ); } printf("\n"); } return 0; }
/Kalle