#!//Users/makoto/.rbenv/shims/ruby
# -*- coding: utf-8 -*-
questions = ["必要なデータ集", "ユーザから読み取る入力値", "結果として与える出力情報"]
questions.each do |row|
printf("%sは何ですか?(qで終了): ", row)
koto = gets.chomp
if koto == "q" then
break
end
printf("%sは「%s」ですね!\n", row, koto)
end
puts "頑張って作ってね!!!"