LoginSignup
1
0

More than 5 years have passed since last update.

Ruby10進数を2進数に変化

Posted at
ruby
puts gets.to_i.to_s(2)
=begin
7
が
111
=end

参考

参考にしたWebサイトや技術書などを列挙する

次にやること

SQLをやる

1
0
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
1
0