简答题:本题的功能是计算二维数组arr[][]={{34,21,45,67,20},{23,10,3,45,76},{22,3,

  • 题目分类:Java
  • 题目类型:简答题
  • 号外号外:注册会员即送体验阅读点!
题目内容:
本题的功能是计算二维数组arr[][]={{34,21,45,67,20},{23,10,3,45,76},{22,3,79,56,50}}中的最小值,并输出。
public class javal{
public static void main(String[]args){
int arr[][]={{34,21,45,67,20),{23,10,3,45,
76},{22,3,79,56,50}};
int i=0:
intj=0;
int min=arr[0][0];
while(i<3){
while( ){
if(arr[i][j]<min)
min=arr[i][j];
j++;
}


}
System.out.println("The min:"+min);
}
}
参考答案:【答案仅供学习,请勿对照自行用药等】
答案解析:

Scientists have discovered that what prevents people from co

Scientists have discovered that what prevents people from concentrating is______

查看答案

根据以下材料,回答题If you are writing or studying, it makes very much

根据以下材料,回答题If you are writing or studying, it makes very much difference where th

查看答案

He is__________than the other boys in his class.

He is__________than the other boys in his class. A.more taller B.tallest C.talle

查看答案

24.

24.A.holds up B.hangs out C.moves on D.turns around

查看答案