I am completing a group project and I just found out that I need to print just 20 lines at a time. I have added the code I thought I needed to add, but it wouldnt work correctly. I know this is easy and I should know how to do it, but I am just having trouble thinking through the process logically. I need to add code to the following piece of code to print only 20 lines at a time.
for (j = 0; j < i; j++)
for(k = 0; k < 4; k++)