#include <stdio.h>
int main() {
float x, y, answer;
// รับค่าจากผู้ใช้
printf("Enter value for x: ");
printf("Enter value for y: ");
// คำนวณผลลัพธ์
answer = (x * y + 7 - 4);
// แสดงผลลัพธ์
printf("The result of the calculation (x * y + 7 - 4) is: %.2f\n", answer
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGZsb2F0IHgsIHksIGFuc3dlcjsKCiAgICAvLyDguKPguLHguJrguITguYjguLLguIjguLLguIHguJzguLnguYnguYPguIrguYkKICAgIHByaW50ZigiRW50ZXIgdmFsdWUgZm9yIHg6ICIpOwogICAgc2NhbmYoIiVmIiwgJngpOwoKICAgIHByaW50ZigiRW50ZXIgdmFsdWUgZm9yIHk6ICIpOwogICAgc2NhbmYoIiVmIiwgJnkpOwoKICAgIC8vIOC4hOC4s+C4meC4p+C4k+C4nOC4peC4peC4seC4nuC4mOC5jAogICAgYW5zd2VyID0gKHggKiB5ICsgNyAtIDQpOwoKICAgIC8vIOC5geC4quC4lOC4h+C4nOC4peC4peC4seC4nuC4mOC5jAogICAgcHJpbnRmKCJUaGUgcmVzdWx0IG9mIHRoZSBjYWxjdWxhdGlvbiAoeCAqIHkgKyA3IC0gNCkgaXM6ICUuMmZcbiIsIGFuc3dlcik7CgogICAgcmV0dXJuIDA7Cn0=