wow
This commit is contained in:
parent
d42448a9d0
commit
6fef06ae70
67 changed files with 436 additions and 1 deletions
15
04/ex05.c
Normal file
15
04/ex05.c
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
int a,b,c;
|
||||
|
||||
printf("삼각형 세 변의 값 입력: ");
|
||||
scanf("%d %d %d", &a, &b, &c);
|
||||
|
||||
if (a + b > c && a + c > b && b + c > a) {
|
||||
printf("삼각형 가능 여부 : yes");
|
||||
}
|
||||
else {
|
||||
printf("삼각형 가능 여부 : no");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue