Sha256: 38f126aa35571e4734ad7a5f34b17f6d7c525ecb848e75149647d465763c442f
Contents?: true
Size: 177 Bytes
Versions: 10
Compression:
Stored size: 177 Bytes
Contents
var a = Sys.scanln("First number: ").to_i; var b = Sys.scanln("Second number: ").to_i; %w'+ - * // % ** ^ | & << >>'.each { |op| "#{a} #{op} #{b} = #{a.$op(b)}".say; }
Version data entries
10 entries across 7 versions & 1 rubygems