Write a program that reads two numbers and from the keyboard and calculates and outputs to the console the arithmetic average of all numbers from the interval , which are divisible by .
In the example below, the arithmetic average is calculated for the numbers on the interval . On this interval, there are numbers divisible by , namely: . Their arithmetic average equals .
The program input contains intervals, which always contain at least one number, which is divisible by .
Remember that the int type cannot contain fractions. Use a double variable to store the precise result of the division.