Roman Numerals is a simple and versatile application that allows you to convert decimal (Arabic) numbers to Roman notation and vice versa
It incorporates 3 main sections: "The converter", "the teacher" and "the game".
THE CONVERTER
--------------------------
The converter operates with a keyboard in which a decimal or Roman number can be indicated and the program converts it from one format to another.
The conversion is automatic and recognizes numbers from 1 to 3,999,999, accepting Roman symbols with an upper dash with which we can multiply the value of the symbol by 1,000.
It also has keys to delete, copy the conversion to the clipboard and clear the screen.
THE TEACHER
-----------------------
The "Professor" screen shows a complete explanation of how Roman numerals are formed and the rules that must be followed to write them correctly.
THE GAME
----------------
Do you know how to recognize Roman numerals? Prove it. With this fun question and answer game, the program will show you a number and you must select one of the four possible answers. Will you find the right one? It starts easy but little by little it will get complicated.
The game has 7 levels, each with 10 questions of increasing difficulty.
- If you answer correctly on the first attempt you will get 1 point.
- If you answer on the second attempt you will not get a score.
- If you answer on the third attempt you will lose a point.
- If you answer the last attempt you will lose two points.
To pass a level you must reach at least 5 points.
At the end of the game the level you have reached and the average grade obtained will be shown.
OPTIMIZED CONVERTER
---------------------------------------
The Roman Numerals application incorporates an optimized integer/Roman and Roman/integer conversion algorithm to perform the conversion correctly and detect all incorrectly expressed numbers.
DECIMAL NUMBERING SYSTEM
-------------------------------------------------- -------
The decimal or Arabic system, created in India and introduced to Europe by the Arabs, is characterized by incorporating the number zero (which does not exist in Roman notation) and using 10 different symbols. With this system you can perform arithmetic operations such as addition, subtraction, multiplication and division in a much more efficient way than with Roman notation.
ROMAN NUMBERING SYSTEM
-------------------------------------------------- -----
The Roman numeral system is characterized by using different symbols to represent different quantities:
- The character "I" represents "1"
- The character "V" represents "5"
- The character "X" represents "10".
- The character "L" represents "50".
- The character "C" represents "100".
- The character "D" represents "500".
- The character "M" represents "1000".
To represent numbers you must respect certain rules:
- The numbers must be represented from highest to lowest, that is, from "M" to "I".
- You cannot chain more than 3 identical symbols; The number "IIII" does not represent 4 but is incorrect
- In front of a symbol, you can add another minor symbol, to use it as a subtraction; so the IX represents the "9"
- The symbols "V", "L" and "D" cannot be used for subtraction; the number "VX" is equivalent to "V".
- The remaining symbol must be a factor number of "1" compared to the previous one; thus, the "I" can be subtracted from the "X" but not from the "C"; the number "IC" does not represent "99" since it is poorly represented; the "99" should be expressed as "XCIX"