Question: Question 1. Filter a given array of integers and output only those values that are less than a specified value. The output integers should be

Question 1. Filter a given array of integers and output only those values that are less than a specified value. The output integers should be in the same sequence as they were in the input. You need to write a function with the recommended method signature for the languages mentioned below. For the rest of the languages, you have to write a complete code.

Input Format 2, 7, 4, 9, 1. 3, 3

Constraints

Must always have a positive numbers.

if user enters negative number it should get prompt for invalid input.

if no value is below the range, then display none

Output Format

2, 1

Write in Language C++!!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!