C program to count total number of elements divisible by a specific number in an array
Given an array arr and number b, we have to count total number of elements divisible by b.
Example:
Input:
Enter array elements:
10
15
20
25
30
Number: 10
Output:
Total elements divisible by 10 is 3
Program:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer