Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 545 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 545 Bytes

An "Expert" level exercise from Edabit.com.

Each person in Italy has an unique identifying ID code issued by the national tax office after the birth registration: the Fiscal Code (Codice Fiscale). Given an Object containing the personal data of a person (name, surname, gender and date of birth) return the 11 code characters as a string, according to certain rules. There are three parts of the fiscal code, corresponding to the four parts of the Object.

[Surname][Name][DOB & Gender]