목록분류 전체보기 (427)
안 쓰던 블로그
1. 2차원 배열 출력1 12345678910111213141516171819202122 #include int main(){ int x; scanf("%d", &x); int b[50][50] = { 0, }; int qq = 0; for (int i = 0; i
1234567891011121314151617181920212223242526#includeint main(){ int i, j, g[11][11] = { 0, }, r, c, sum = 0; for (i = 1; i
123456789101112131415161718#include #include int main(){ char a; while (scanf("%c", &a) != EOF){ if (a >= 'd' && a = 'a' && a
1234567891011121314151617181920212223242526272829#include int main(){ int i, j, space, star, line, flag = 0; scanf("%d", &line); space = line / 2; star = 1; for (i = 0; i
123456789101112131415161718192021222324#include int main(){ char a[3] = { 0, }; char b[3] = { 0, }; int i, tmp; for (i = 0; i
12345678910111213141516171819#include int main(){ int n, m = 1, i = 0; printf("단수 입력: "); scanf("%d", &n); while (1){ if (n > 9){ printf("error!"); break; } } for (i = 1; i