Tasks form chapter 8 - Numeral Systems from "Introduction to programming with C#" solved.