For example, 10002 is the first 5-digit number that is divisible by by 3. And 10005 is the second 5-digit number that is divisible by by 3. Write a program that finds kth n-digit number which is divisible by m.
what do you have so far. I can tell you that for n-digit number get the user input and multiply 1x10^(n-1) where n is the user input. That will put you at whatever digit number you need. Get the user input for both m and k as well. Then just create a counter equal to k, and mod the number by m reducing k each time m == 0.