Erlang Century From Year
-module(century_from_year).
-export([century_from_year/1]).

century_from_year(Year) ->
    (Year + 99) div 100.

This converts a year into its century. Years 1-100 are century 1, 101-200 are century 2, and so on.