Question: . 0 2 . Divisible numbers count 0 2 . Problem Statement You are given a function, def FindNumbersDivisible ( a , b , c

.
02. Divisible numbers count
02.
Problem Statement
You are given a function,
def FindNumbersDivisible(a, b, c):
03.
The function takes three positive integers 'a','b' and 'div' as Input. Implement the function to find and return the count of all those numbers divisible by 'div'.
Example:
Input:
12
30
3
Output:
7
Explanation:
The numbers divisible by 3 between 12 and 30 are, 110124,27,30}.
Since, there are 7 numbers divisible by 3 thus, output is 7.
Sample input
15
50
5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!