Cześć! Czy ktoś mógłby naprowadzić mnie na rozwiązanie zagadki "co jest nie tak z moim kodem?". Wszystko ładnie mi się kompiluje, a tutaj niestety nie.
`import java.io.*;
public class zadanie {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String dane;
System.out.print("Podaj pierwszą liczbę: ");
dane = in.readLine();
int a = Integer.parseInt(dane);
System.out.print("Podaj drugą liczbę: ");
dane = in.readLine();
int b = Integer.parseInt(dane);
if (a>=0 && b>=0 && a<200 && b<200){
System.out.println("Suma liczb wynosi: " + (a+b));
}
else {
System.out.println("Błędne dane");
}
}
}
`