This commit is contained in:
암냥 2026-04-18 22:25:36 +09:00
commit 6fef06ae70
No known key found for this signature in database
67 changed files with 436 additions and 1 deletions

20
04/ex06.c Normal file
View file

@ -0,0 +1,20 @@
#include <stdio.h>
int main() {
int a,b;
printf("정수 2개 입력\n");
printf("정수 A: ");
scanf("%d", &a);
printf("정수 B: ");
scanf("%d", &b);
if (a > b) {
printf("정수 A가 정수 B보다 크다.");
} else if (a == b){
printf("정수 A와 정수 B가 같다.");
}
else {
printf("정수 B가 정수 A보다 크다.");
}
}