Write a program to check which amongst the given numbers in an array is divisible by 7 sample input: [7,14,27] sample output: [7,14]
Answers
Answered by
0
Example: the number 371: 37 – (2×1) = 37 – 2 = 35; 3 – (2 × 5) = 3 – 10 = -7; thus, since -7 is ... A Program to check whether a number is divisible by 7.
Answered by
0
example:-
the number 371:37 - 37 - (2×1)=37-2=35
the number 371:37 - 37 - (2×1)=37-2=35
Similar questions