AAAAAAAHHHHH GAAAAAAHH

master
Domen 2025-03-28 15:26:22 +01:00
parent d37abad2ac
commit 31b9c7c332
1 changed files with 32 additions and 0 deletions

32
Doppelschleifen.java Normal file
View File

@ -0,0 +1,32 @@
public class Doppelschleifen
{
public static void tick(){
for( int stunden = 0; stunden < 24; stunden++){
for (int minuten = 0; minuten < 60; minuten++)
{
for(int sekunden = 0; sekunden < 60; sekunden++){
System.out.println(stunden + ":"+ minuten + ":" + sekunden);
try{
Thread.sleep(100);
}
catch(InterruptedException e) {
e.printStackTrace();
}
}
}
}
}
public static void einmaleins(){
for(int a = 1; a<=10; a++){
System.out.println(" " + a +"er reihe");
for(int b = 1; b<=10; b++){
System.out.println(a +"*"+ b +"="+ a * b);
}
}
}
}