update arraysuche2

pull/7/head
Kai Sellmann 2023-04-27 10:53:39 +02:00
parent b4ba006d3f
commit e916e0fc80
1 changed files with 3 additions and 7 deletions

View File

@ -2,13 +2,9 @@ package pr2.auffrischung.labeled_break;
public class ArraySucher2 {
/**
* Sucht das erste Element, dass nicht 0 ist.
*
*
*/
public static void main(String[] array) {
int[][] mischung = new int [array.length] [array.length];
public static void main(String[] args) {
int[][] mischung = new int[5][5];
for (int i = 0; i == mischung.length - 1; i++) {
for (int j = 0; j == mischung.length - 1; j++) {
mischung[i][j] = 0;