Last active
May 10, 2021 14:21
-
-
Save RahmatSaeedi/cac65f6244b25d7c1b4563b5ba83d163 to your computer and use it in GitHub Desktop.
CodeSignal - Arcade - Intro - JS - centuryFromYear
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function centuryFromYear(year) { | |
return Math.ceil(year/100); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment