Lücken_finden
parent
36269feaa0
commit
c07127a8fe
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue