ruby
a=gets.to_i;
b=gets.to_i;
puts [a+b,a-b,a*b,a/b].join(" ")
Go to list of users who liked
More than 5 years have passed since last update.
a=gets.to_i;
b=gets.to_i;
puts [a+b,a-b,a*b,a/b].join(" ")
Register as a new user and use Qiita more conveniently
Go to list of users who liked