wow
This commit is contained in:
parent
d42448a9d0
commit
6fef06ae70
67 changed files with 436 additions and 1 deletions
20
04/ex06.c
Normal file
20
04/ex06.c
Normal 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보다 크다.");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue