Starting from:

$10

Write a public static method named getProduct

1. Write a public static method named getProduct that takes a HashMap of type String to Integer and returns a double. This method returns the maximum result (do not return the original value) of taking the sine of each value from the input while considering only positive numbers from the inputs. 

2. Write a public static method named getResult that takes an ArrayList of Doubles as a parameters and returns a double. This method returns the value from the input ArrayList that is closest to 5.42

More products