using namespace std;
int const n=5;
why doesnt this work ?
I want to make a new vector from the numbers that are bigger than 3 from Rm
You want the program to populate a new array B by iterating through an existing array R, so wherever an element in the array R is found to be greater than 3,it gets appended to B, right? The output is 6. Isn't that what you are trying to do?