C語言
#include<stdio.h>
void main()
{
for (int i = 1; i <= 4; i++) {
for (int j = 0; j < 7; j++) {
printf("%5d", i * 6 + i*j * 2);
}
printf("\n");