[정올] Language Coder_반복제어문3_형성평가A_code149 (C)
두비니
·2020. 4. 11. 01:16
#include <stdio.h>
int main() {
int n, k=1;
scanf("%d", &n);
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
printf("%d ", k);
k = (k + 2) % 10;
}
printf("\n");
}
return 0;
}
'Coding_Algorithm > 정올 문제풀이' 카테고리의 다른 글
[정올] Language Coder_배열1_형성평가1_code150 (C) (0) | 2020.04.13 |
---|---|
[정올] Language Coder_배열1_자가진단8_code562 (C) (0) | 2020.04.12 |
[정올] Language Coder_반복제어문3_형성평가9_code148 (C) (0) | 2020.04.10 |
[정올] Language Coder_반복제어문3_형성평가8_code147 (C) (0) | 2020.04.09 |
[정올] Language Coder_반복제어문3_형성평가7_code146 (C) (0) | 2020.04.09 |