Programming/C
[정올] 1304 : 숫자사각형3
pental
2019. 11. 22. 17:52

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include <stdio.h>
int main()
{
int i,j;
int num = 0;
scanf("%d",&num);
int temp = 0;
int count = 1;
for(i = 0; i < num; i++)
{
temp = count;
for(j = 0; j < num; j++)
{
printf("%d ",temp);
temp += num;
}
printf("\n");
count++;
}
}
|
cs |
https://github.com/kim-do-hyeon/jungol/blob/master/20191122_jungol_co_kr_1304.c
kim-do-hyeon/jungol
jungol.co.kr. Contribute to kim-do-hyeon/jungol development by creating an account on GitHub.
github.com