0_0_5325914_26111\Main.java:16: non-static variable x cannot be referenced from a static context
x=cin.nextInt();
^
0_0_5325914_26111\Main.java:17: non-static variable y cannot be referenced from a static context
y=cin.nextInt();
^
0_0_5325914_26111\Main.java:18: non-static variable x cannot be referenced from a static context
System.out.println(fun(x,y));
^
0_0_5325914_26111\Main.java:18: non-static variable y cannot be referenced from a static context
System.out.println(fun(x,y));
^
4 errors
|