I have a C++ problem to solve for a course, I am at it for some time but to no available, I am sure the answer must be defeating simple.?

1. An integer (int) array called n50 contains 50 elements.

Build two other arrays d3 and d5, in which you transfer the numbers from n50 that are divisible by 3 or 5. Display the d3 and d5 arrays
6 answers 6