trentvw3304 trentvw3304 23-12-2022 Computers and Technology Answered write a method that returns the index of the smallest element in an array of integers. if the number of such elements is greater than 1, return the smallest index. use the following header: public static int indexofsmallestelement(double[] array)