This commit is contained in:
Mykola Fesenko
2025-07-29 08:08:23 +02:00
commit 899a05907b
355 changed files with 11002 additions and 0 deletions

14
4/KG1.java Normal file
View File

@@ -0,0 +1,14 @@
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]);
}
}