Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main (){
- int a, b, c, x, y;
- scanf ("%d %d %d", &a, &b, &c);
- x = (a+b+ abs(a-b))/2;
- y = (x+c+ abs(x-c))/2;
- printf ("%d eh o maior\n", y);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement