develop and execute a c program to store n numbers in array and print the numbers that are divisible by five with the array location
Answers
Answered by
0
Answer:
hiijdhd ud hdhdyuyrrhrhf
Answered by
3
Answer:
Ur answer is below
Explanation:
Given an array of numbers, find the number among them such that all numbers are divisible by it. If not possible print -1.
Examples:
Input : arr = {25, 20, 5, 10, 100}
Output : 5
Explanation : 5 is an array element
which divides all numbers.
Input : arr = {9, 3, 6, 2, 15}
Output : -1
Explanation : No numbers are divisible
by any array element.
may help u ☺️☺️☺️
Similar questions