diff --git a/.classpath b/.classpath index 2bcb0d3..1b83d66 100644 --- a/.classpath +++ b/.classpath @@ -11,10 +11,5 @@ - - - - - diff --git a/Programmierung2/src/Algorithmus/Lueken_finden.java b/Programmierung2/src/Algorithmus/Lueken_finden.java new file mode 100644 index 0000000..0b4e552 --- /dev/null +++ b/Programmierung2/src/Algorithmus/Lueken_finden.java @@ -0,0 +1,16 @@ +package Algorithmus; + +public class Lueken_finden { + + public static void main(String[] args) { + for (int i = 0; i < Integer.MAX_VALUE; i++) { + float f = i; + + int merker = (int) f; + + if (i != merker) + System.out.println(i + " " + merker); + } + } + +}