Counting rule for access code for house's security.
1. The access code to a house's security system consists of seven digits. How numerous different codes is available if each digit can be repeated?
2. A tourist in Ireland wants to visit six different cities. How several different routes are possible?