JAVA
Sunday, October 23, 2005
MAXMIN
public class maxmin //*用陣列寫比較方便
{
public static void main(String[] args)
{
int i,max,min;
int a[]={23,24,67,1,90};
max=min=a[0];
System.out.println("Numbers are:");
for(i=0;i
System.out.println("MINI Number:"+min);
}
}
圖檔
posted by MIMI @
7:51 PM
0 Comments:
Post a Comment
<< Home
Previous Posts
Lab If-Else (2)
Lab10/17(三)
Lab10/17(二)
Lab10/17
LAB10/3
JAVA作業三
lab2
JAVA作業二
JAVA作業一
0 Comments:
Post a Comment
<< Home