printf("君どこの人?\n") printf("1.日本人 2.american :") ans=gets.to_i if ans == 1 puts("ようこそ!") elsif ans == 2 puts("Hello!") else puts("ばかめ") end