#include <stdio.h>
#include <ctype.h>
int main(void) {
char lastName[20];
char firstName[20];
printf("%s\n", "氏名をアルファベット小文字で入力して下さい"); scanf("%s %s", lastName
, firstName
); printf("%s %s さんのイニシャルは%c,%cです\n", lastName
, firstName
, toupper(firstName
[0]), toupper(lastName
[0]));
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxjdHlwZS5oPgoKaW50IG1haW4odm9pZCkgewoJY2hhciBsYXN0TmFtZVsyMF07CgljaGFyIGZpcnN0TmFtZVsyMF07CgkKCXByaW50ZigiJXNcbiIsICLmsI/lkI3jgpLjgqLjg6vjg5XjgqHjg5njg4Pjg4jlsI/mloflrZfjgaflhaXlipvjgZfjgabkuIvjgZXjgYQiKTsKCXNjYW5mKCIlcyAlcyIsIGxhc3ROYW1lLCBmaXJzdE5hbWUpOwoJcHJpbnRmKCIlcyAlcyDjgZXjgpPjga7jgqTjg4vjgrfjg6Pjg6vjga8lYywlY+OBp+OBmVxuIiwgbGFzdE5hbWUsIGZpcnN0TmFtZSwgdG91cHBlcihmaXJzdE5hbWVbMF0pLCB0b3VwcGVyKGxhc3ROYW1lWzBdKSk7CgkKCXJldHVybiAwOwp9