Skip to main content
Best answer by Werner_E

So what should happen with the values in q which are outside the limits?

Do want to set them to the lowest or hightest value allowed or do you rather want to delete them from the vector?

From the attempt you posted I looks like you want to delete those values.

One way to achieve this is

Werner_E_0-1713786591662.png

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
April 22, 2024

So what should happen with the values in q which are outside the limits?

Do want to set them to the lowest or hightest value allowed or do you rather want to delete them from the vector?

From the attempt you posted I looks like you want to delete those values.

One way to achieve this is

Werner_E_0-1713786591662.png

 

14-Alexandrite
April 22, 2024

I want to delete the values outside the limits 

Thanks a lot