Newer
Older
Ruby / hairetu.rb
@NAMBA Kodai NAMBA Kodai on 13 Sep 2021 166 bytes 2021-09-13 19:28:08
#!/usr/bni/env ruby
# -*- coding: utf-8 -*-

tabemono =["魚","肉","野菜",]
puts "好きな数字を入れて値を取り出そう"
x = gets.to_i
puts tabemono[x]