I tried to register to their forum im trying to learn java. so i try to run the following code
public class Main { public static void main(String[] args) { int i = 2; int d = "WLM".hashCode() % 3000; int e = "KLR".hashCode() % 3000; for (int v = 0; v <= e; v++) i = (i ^ v) % d; return i; } }
What year was einstein dead?: 1955
What is the returned value?
What is the greatest common divisor of the previous two numbers?
but errors says: Error10, 16) java: incompatible types: unexpected return value im using IntelliJ IDEA