#include<stdio.h>
#include<locale.h>
int main(int argc, const char* argv[])
{
//setlocale(LC_ALL,"portuguese");
int num1, num2, num3;
printf("Por favor, digite os três valores das variávesi: \n"); scanf("%d%d%d",&num1
,&num2
,&num3
);
printf("%d\n",num1
+num2
-num3
); printf("%d\n",num1
+num2
-num3
); printf("%d\n",num3
-num2
-num1
); printf("%d\n",num1
*num2
-num3
); printf("%d\n",num1
+num2
*num3
);
printf("%d\n",num1
*num2
+num1
-num3
/2);
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8bG9jYWxlLmg+CgoKaW50IG1haW4oaW50IGFyZ2MsIGNvbnN0IGNoYXIqIGFyZ3ZbXSkKewogICAgLy9zZXRsb2NhbGUoTENfQUxMLCJwb3J0dWd1ZXNlIik7CiAgICAKICAgIGludCBudW0xLCBudW0yLCBudW0zOwogICAgCiAgICBwcmludGYoIlBvciBmYXZvciwgZGlnaXRlIG9zIHRyw6pzIHZhbG9yZXMgZGFzIHZhcmnDoXZlc2k6IFxuIik7CiAgICBzY2FuZigiJWQlZCVkIiwmbnVtMSwmbnVtMiwmbnVtMyk7CiAgICAKICAgIHByaW50ZigiJWRcbiIsbnVtMStudW0yLW51bTMpOwogICAgcHJpbnRmKCIlZFxuIixudW0xK251bTItbnVtMyk7CiAgICBwcmludGYoIiVkXG4iLG51bTMtbnVtMi1udW0xKTsKICAgIHByaW50ZigiJWRcbiIsbnVtMSpudW0yLW51bTMpOyAgCiAgICBwcmludGYoIiVkXG4iLG51bTErbnVtMipudW0zKTsKICAgIAogICAgcHJpbnRmKCIlZFxuIixudW0xKm51bTIrbnVtMS1udW0zLzIpOwogICAgCiAgICAKICAgIHJldHVybiAwOwp9