Skip to content

anonymous /gist:4146629
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
c
public class Question2
{
public static void main(String [] args)
{
final int MAX_ROWS = 6;
int printedNum = 1;
for (int row = 1; row <= MAX_ROWS; row++)
{
for (int num = 1; num <= 6; num++)
System.out.print(printedNum + "\t");
printedNum++;
System.out.println("");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.