분류 전체보기93 Font 태그의 속성 돋움체 궁서체 2019. 7. 23. H와 Font 태그의 글자 크기 비교 H1 글자 크기 H2 글자 크기 H3 글자 크기 H4 글자 크기 H5 글자 크기 H6 글자 크기 Font 1 글자 크기 Font 2 글자 크기 Font 3 글자 크기 Font 4 글자 크기 Font 5 글자 크기 Font 6 글자 크기 Font 7 글자 크기 Font +2 글자 크기 Font +1 글자 크기 Font -1 글자 크기 Font -2 글자 크기 2019. 7. 22. 문자정렬 가운데 정렬 왼쪽 정렬 오른쪽 정렬 2019. 7. 22. 택시 거리 계산하기 #include struct point { int x; int y; }; int main() { point p1, p2; int d=0; scanf("%d %d", &p1.x, &p1.y); scanf("%d %d", &p2.x, &p2.y); d+=(p1.x>p2.x)?(p1.x-p2.x):(p2.x-p1.x); d+=(p1.y>p2.y)?(p1.y-p2.y):(p2.y-p1.y); printf("%d\n", d); } /*- 1 2 3 5 5 -------------------------------- Process exited after 7.678 seconds with return value 0 계속하려면 아무 키나 누르십시오 . . . */ 2019. 6. 19. 별삼각형 #include char star[110][110]; int main() { int n; printf("높이를 입력하세요:"); scanf("%d", &n); for(int i=0; i 2019. 6. 12. 이전 1 ··· 9 10 11 12 13 14 15 ··· 19 다음