LoginSignup
2
2

More than 1 year has passed since last update.

乃木坂クイズアプリ開発①(Ruby)

Posted at

rubyで乃木坂クイズアプリを開発しています。
まずは簡単に人数クイズから

# 新規作成 2023/4/17
# 乃木坂文字

str = "乃木坂46"
print "私は" + str + "が好きです" + "\n"

print "乃木坂46のメンバーの人数を入力してください"
num = gets.to_i

if num == 39
  print "正解です"
else
  print "不正解です"
end

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2