#include <stdio.h>
#include <stdlib.h>
int main() {
int a, b, c, maior1 = 0, maior2 = 0;
scanf("%d %d %d",&a,&b,&c);
maior1 = (a + b + abs(a - b)) / 2;
maior2 = (maior1 + c + abs(maior1 - c)) / 2;
printf("O maior é %d.", maior2);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: