I am writing a program and there is only one error left.
It says variable zahl might not have been initialized
, but I did it:
public class Primzahltest1 {
public static void main (String[]argv) {
int zahl;
IO.readInt("...");
if (zahl<=1) {
IO.println ("...");
return;
}
Can someone please help me?