Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 353 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 353 Bytes

Mayan Calculation

We need a way to convert base 20 numbers into base 10. With this, we can convert the two numbers read from standard input into base 10. Then, we can calculate the result of the operation easily. Finally, we convert the result back into base 20. Make sure you are using long types for your calculations in order to prevent overflow.