Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(void){
- int a, b, c;
- printf("Zadej strany a, b, c:\n");
- scanf("%d%d%d", &a, &b, &c);
- if(((a+b)>c) || ((a+c)>b) || ((b+c)>a)){
- printf("Trojuhelnik lze sestrojit\n");
- }
- else printf("Trojuhelnik nelze sestrojit\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement