Question

# Build a function that takes an array Arr of size N and returns another array which, first disregards the numbers

greater than a certain threshold (also a passed parameter), and then stores the remaining elements of the array Arr first in an increasing order and then in a decreasing order

i.e.

If Arr = {5,4,1,12,0,2} and threshold = 10, the returned array should be ={0,1,2,4,5,5,4,2,1,0}.

In the main method, the user is asked to enter the size of array Arr, the value of the threshold, as well as all the elements of array Arr.

### Recently Asked Questions

- I'm try to figure out way to develop a C++ program that uses this formula to approximate the value of e . the user is asked to input a value for n and then the

- Exercise 30 (Chapter 5) defines the number e . The value of e can be approximated using the following expression: where n is a positive integer. Need help

- I need help with a function that calculates an "ALPHA" number. An "ALPHA" number starts with 7, then each successive number is equal to three times the current