Lücken_finden

master
obai 2024-09-30 09:40:16 +02:00
parent 36269feaa0
commit c07127a8fe
2 changed files with 16 additions and 5 deletions

View File

@ -11,10 +11,5 @@
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="C:/Users/obaya/Downloads/mysql-connector-j-9.0.0/mysql-connector-j-9.0.0.jar">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -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);
}
}
}