The program takes a natural number n as input.It should output the count of n-digit natural numbers that include at least one digit 7.
A natural number n.
The solution to the problem.
Example 1
Example 2