camila5715 12/02/2022 #include int main(){ int a, b, c; printf("Digite 3 valores: "); scanf("%d %d %d", &a, &b, &c); int soma = 0; if (a > b && b > c) soma = b + c; else if (a < b && b > c) soma = a + c; else if (c > a && c > b) soma = a + b; else printf("Error "); printf("%d ", soma); return 0;}
camila5715
#include
int main(){
int a, b, c;
printf("Digite 3 valores: ");
scanf("%d %d %d", &a, &b, &c);
int soma = 0;
if (a > b && b > c) soma = b + c;
else if (a < b && b > c) soma = a + c;
else if (c > a && c > b) soma = a + b;
else printf("Error ");
printf("%d ", soma);
return 0;
}