>>595
#include <stdio.h>
#include <string.h>

int main()
{
const char* answer[] = { "Miss!", "OK!" };
const int n = 2;
const char* question[] = { "tamachann", "Asakusa" };

char buf[BUFSIZ];
int i;

for (i = 0; i < n; i++) {
printf("問題%d:\"%s\">", i + 1, question[i]);
if (fgets(buf, sizeof buf, stdin) == NULL) {
putchar('\n');
break;
}
puts(answer[strncmp(question[i], buf, strlen(question[i])) == 0]);
}
return 0;
}