Write a function that gets the range 'n' and an positive integer 'd' and prints the numbers that are divisible by "d" over a range "n"
For example:
If n = 10 & d = 3,
The numbers are 3, 6, 9
Implementation:
Output:
Enter the limit:
10
Enter the number:
2
The numbers divisible by 2 are:
2 4 6 8 10