(Created page with "Hier testen wir, ob "t" gerade oder ungerade ist. <syntaxhighlight lang="javaScript"> int t = 6; if(t % 2 == 0){ println("gerade" + t);} else{println("ungerade" + t); } </...") |
(No difference)
|
Revision as of 06:23, 10 June 2017
Hier testen wir, ob "t" gerade oder ungerade ist.
int t = 6;
if(t % 2 == 0){
println("gerade" + t);}
else{println("ungerade" + t);
}