backup
This commit is contained in:
13
4/KG1.~ava
Normal file
13
4/KG1.~ava
Normal file
@@ -0,0 +1,13 @@
|
||||
import java.util.Arrays;
|
||||
|
||||
public class KG1 {
|
||||
public static void main(String args[]) {
|
||||
int zahlen[] = {13, 9, 67, 42, 101, 99, 97, 112, 83, 5, 78, 66,73,4,56,3,643,5,23,6,300 } ;
|
||||
|
||||
Arrays.sort(zahlen);
|
||||
|
||||
System.out.println("Kleinste: "+ zahlen[0]);
|
||||
System.out.println("Großte: "+ zahlen[zahlen.length -1]);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user