Write a method called findMin that returns the smallest element in a partially filled integer array. The parameters of the method are the array called “values” and the number of elements is stored in integer variable “size”. public int findMin(int[] values, int size) Solution public static int findMin(int[] values,int size) { int small=values[0],i; //declaring small,i and define small value as first value of array for(i=1;i<size;i++) //iterating the loop { if(values[i]<small) //checking the elements any elements which is smaller that first element { small=values[i]; //if small value present then assign that value to small } } return small; //returning the small value } .