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

18
6/Dividieren.java Normal file
View File

@@ -0,0 +1,18 @@
public class Dividieren {
public static void main(String args[]) {
int a = 7;
int b = 7.9;
try {
System.out.println("a : b = " + a/b);
} catch(ArithmeticException e) {
System.out.println("Bei der Berechnung gab es Problem");
System.out.println("Problem: "+ e.getMessage());
} catch (Exception e) {
}
}
}