write a program to insert 4 elements in an array ‘a’ and 5 elements in an array ‘b’ . make a third array ‘c’ , containing the numbers divisible by 3 from the first array and numbers divisible by 5 from the second array.
input a[ ] 4 6 9 13
input b[ ] 23 10 18 65 42
output c[ ] 6 9 10 65
Answers
Answered by
0
Answer:
write a program to insert 4 elements in an array ‘a’ and 5 elements in an array ‘b’ . make a third array ‘c’ , containing the numbers divisible by 3 from the first array and numbers divisible by 5 from the second array.
input a[ ] 4 6 9 13
input b[ ] 23 10 18 65 42
output c[ ] 6 9 10 65
Similar questions