Question: using Java CHALLENGE ACTIVITY 5.6.4Modify an array's elements Double any element's value that is less than controlValue, Ex If controlValue = 10, then dataPoints =
CHALLENGE ACTIVITY 5.6.4Modify an array's elements Double any element's value that is less than controlValue, Ex If controlValue = 10, then dataPoints = {2.12,9, 20) becomes (4,12, 18,20) 1 import java.util.Scanner; 2. public class Student Scores public static void main(string[args) { 4 Scanner sehr new Scanner(System.in); 5 final int NU POINTS - 4 6 int[] datapolits. new int [N.H_POINTS); 7 int controlvalue; int i; 9 10 controlvalve ser.nextInt(); 11 12 for ( 101
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
