In JAVA! Write the program that will do the following tasks: Declare a 5 X 8 integer array Using nested for loops prompt and ask the user to enter all 40 values in the array. 3. Output the largest value in the array 4. Output the smallest number in the array Solution import java.io.*; import java.util.*; import java.io.IOException; import java.io.PrintWriter; import java.util.Scanner; public class test7 { public static void main(String args[]) { int row, col, i, j; int arr[][] = new int[5][8]; Scanner scan = new Scanner(System.in); System.out.print(\"Enter Number of Row for Array (max 10) : \"); row = scan.nextInt(); System.out.print(\"Enter Number of Column for Array (max 10) : \"); col = scan.nextInt(); System.out.print(\"Enter \" +(row*col)+ \" Array Elements : \"); for(i=0; i<row; i++) { for(j=0; j<col; j++) { arr[i][j] = scan.nextInt(); } } System.out.print(\"The Array is :\ \"); for(i=0; i<row; i++) { for(j=0; j<col; j++) { System.out.print(arr[i][j]+ \" \"); } System.out.println(); } int h = Â Â 0;// highest value dependency int l= Â Â 0;// lowest value dependency for ( i = 0; i < row; i++){ //find highest value for (j = 0; j <col; j++){ if (arr[i][j] < l){ l = arr[i][j]; } } } for ( i = 0; i < row; i++){ //find lowest value for (j = 0; j <col; j++){ if (arr[i][j] >h){ h= arr[i][j]; } } } System.out.println(l);//print highest System.out.println(h);//print lowest } } .