#include<stdio.h>
int main()
{
char name[50], tel[15], lineId[30];
// รับข้อมูลชื่อ-นามสกุล
printf("กรุณาใส่ชื่อ-นามสกุล: "); fgets(name
, sizeof(name
), stdin
);
// รับข้อมูลเบอร์โทรศัพท์
fgets(tel
, sizeof(tel
), stdin
);
// รับข้อมูล Line id
fgets(lineId
, sizeof(lineId
), stdin
);
// แสดงผลข้อมูลที่ได้รับ
printf("Line id: %s", lineId
);
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KCmludCBtYWluKCkgCnsKICAgIGNoYXIgbmFtZVs1MF0sIHRlbFsxNV0sIGxpbmVJZFszMF07CgogICAgLy8g4Lij4Lix4Lia4LiC4LmJ4Lit4Lih4Li54Lil4LiK4Li34LmI4LitLeC4meC4suC4oeC4quC4geC4uOC4pQogICAgcHJpbnRmKCLguIHguKPguLjguJPguLLguYPguKrguYjguIrguLfguYjguK0t4LiZ4Liy4Lih4Liq4LiB4Li44LilOiAiKTsKICAgIGZnZXRzKG5hbWUsIHNpemVvZihuYW1lKSwgc3RkaW4pOwoKICAgIC8vIOC4o+C4seC4muC4guC5ieC4reC4oeC4ueC4peC5gOC4muC4reC4o+C5jOC5guC4l+C4o+C4qOC4seC4nuC4l+C5jAogICAgcHJpbnRmKCLguIHguKPguLjguJPguLLguYPguKrguYjguYDguJrguK3guKPguYzguYLguJfguKM6ICIpOwogICAgZmdldHModGVsLCBzaXplb2YodGVsKSwgc3RkaW4pOwoKICAgIC8vIOC4o+C4seC4muC4guC5ieC4reC4oeC4ueC4pSBMaW5lIGlkCiAgICBwcmludGYoIuC4geC4o+C4uOC4k+C4suC5g+C4quC5iCBMaW5lIGlkOiAiKTsKICAgIGZnZXRzKGxpbmVJZCwgc2l6ZW9mKGxpbmVJZCksIHN0ZGluKTsKCiAgICAvLyDguYHguKrguJTguIfguJzguKXguILguYnguK3guKHguLnguKXguJfguLXguYjguYTguJTguYnguKPguLHguJoKICAgIHByaW50ZigiXG5OYW1lOiAlcyIsIG5hbWUpOwogICAgcHJpbnRmKCJUZWw6ICVzIiwgdGVsKTsKICAgIHByaW50ZigiTGluZSBpZDogJXMiLCBsaW5lSWQpOwoKICAgIHJldHVybiAwOwp9