Add all the A tasks
This commit is contained in:
parent
2dd7375f96
commit
051504d65b
1608 changed files with 18584 additions and 0 deletions
4
Task/Arithmetic-Complex/Ruby/arithmetic-complex-2.rb
Normal file
4
Task/Arithmetic-Complex/Ruby/arithmetic-complex-2.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Other ways to find the multiplicative inverse:
|
||||
puts 1.quo a # always works
|
||||
puts 1.0 / a # works, but forces floating-point math
|
||||
puts 1 / a # might truncate to integer
|
||||
Loading…
Add table
Add a link
Reference in a new issue