#include <stdio.h>
int main() {
int num1, num2, sum;
// รับค่าจากผู้ใช้
printf("Enter first number: ");
printf("Enter second number: ");
// คำนวณผลบวก
sum = num1 + num2;
// แสดงผลลัพธ์
printf("The sum of %d and %d is %d\n", num1
, num2
, sum
);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCBudW0xLCBudW0yLCBzdW07CgogICAgLy8g4Lij4Lix4Lia4LiE4LmI4Liy4LiI4Liy4LiB4Lic4Li54LmJ4LmD4LiK4LmJCiAgICBwcmludGYoIkVudGVyIGZpcnN0IG51bWJlcjogIik7CiAgICBzY2FuZigiJWQiLCAmbnVtMSk7CgogICAgcHJpbnRmKCJFbnRlciBzZWNvbmQgbnVtYmVyOiAiKTsKICAgIHNjYW5mKCIlZCIsICZudW0yKTsKCiAgICAvLyDguITguLPguJnguKfguJPguJzguKXguJrguKfguIEKICAgIHN1bSA9IG51bTEgKyBudW0yOwoKICAgIC8vIOC5geC4quC4lOC4h+C4nOC4peC4peC4seC4nuC4mOC5jAogICAgcHJpbnRmKCJUaGUgc3VtIG9mICVkIGFuZCAlZCBpcyAlZFxuIiwgbnVtMSwgbnVtMiwgc3VtKTsKCiAgICByZXR1cm4gMDsKfQ==