John-Li/my_programs — comment on commit 06616c30198782b5d7a8a56408c0619f298162f2
File:  line 0
By John-Li:

Take a look at this idea, the code still raw, but is it a way I should move forward?
```ruby
def method_19(year)
centuries = [(0.0 ..+1.0/0.0)/100]
year_in_range = centuries.find{|i| i == year}
result = centuries.index(year_in_range)

"it is #{result+1} century"
end
```