PRG/420 Week 5 Java 5.23 LAB: Adjust list by normalizing – methods

$ 7

PRG/420 Week 5 Java 5.23 LAB: Adjust list by normalizing – methods

When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by subtracting the smallest value from all the values. The input begins with an integer indicating the number of integers that follow. Assume that the list will always contain less than 20 integers.

Ex: If the input is:
5 30 50 10 70 65
the output is:
20 40 0 60 55
For coding simplicity, follow every output value by a space, even the last one.

Your program must define and call a method:
public static int getMinimumInt(int[] listInts, int listSize)

Note: This is a lab from a previous chapter that now requires the use of a method.

993 in stock

SKU: PRG420WK5LAB5P23 Category:

Description

PRG/420 Week 5 Java 5.23 LAB: Adjust list by normalizing – methods

When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers. For this program, adjust the values by subtracting the smallest value from all the values. The input begins with an integer indicating the number of integers that follow. Assume that the list will always contain less than 20 integers.

Ex: If the input is:
5 30 50 10 70 65
the output is:
20 40 0 60 55
For coding simplicity, follow every output value by a space, even the last one.

Your program must define and call a method:
public static int getMinimumInt(int[] listInts, int listSize)

Note: This is a lab from a previous chapter that now requires the use of a method.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.