Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
public void pcStep()
{
for(int i = 0; i < 9; i++)
{
if(buttonField[i] == -1)
{
gui.performClickAction(i); break;
}
}
}
0:0 Rechts
0:0 Unten
0:0 Diagional
1:0 Unten
2:0 Unten
2:0 Diagional
0:1 Rechts
0:2 Rechts
public class RekursionTest {
public static int indexOfChar(String str, char c, int index) {
if(str.charAt(index) == c) {
return index;
} else {
return indexOfChar(str, c, ++index);
}
}
public static void main(String[] args) {
System.out.println(indexOfChar("hallo du da, was geht ab?", 'd', 0));
}
}