Question: Modify an array's elements. Double any element's value that is less than minVal. Ex: If minVal = 10, then dataPoints = {2, 12, 9, 20}
Modify an array's elements. Double any element's value that is less than minVal. Ex: If minVal = 10, then dataPoints = {2, 12, 9, 20} becomes {4, 12, 18, 20}. 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
