#include <stdio.h>
#include <string.h>
int main(void)
{
char s[15];
printf("俺の嫁を入力してください。\n");
scanf("%s", s);
if (strcmp(s,"宮崎あおい") == 0){
printf("黒髪ショート、笑顔が良いです。\n");
}
else if (strcmp(s,"蒼井優") == 0){
printf("黒髪ロング、笑顔が良いです。\n");
}
else if (strcmp(s,"綾瀬はるか") == 0){
printf("天然な人、笑顔が良いです。\n");
}
else{
printf("「%s」は無理っぽいです・・・。\n",s);
}
return 0;
}
//16字以上だとエラーでます。
//その処理はどうすればいいんだ?
PR
この記事にコメントする