Spectrum-CETB / Spectober_Fest

A repository by Spectrum-CETB for celebrating month long festival of open-source called Hacktoberfest.
MIT License
19 stars 62 forks source link

Roman to Decimal java solution #92

Closed ABUZANAZAD closed 2 years ago

ABUZANAZAD commented 2 years ago

name: PR Template about: Pull Request Template title: 'ROMAN_TO_DECIMAL' labels: hacktoberfest assignees: ''


Description

Roman numerals are usually written largest to smallest from left to right. However, the numeral for four is not IIII. Instead, the number four is written as IV. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is written as IX. There are six instances where subtraction is used:

Fixes # (issue)

Test Configuration: (If any)

Checklist: