public class Main { public static void main(String[] args) { System.out.println(-3 % 5); }}
Standard input is empty
-3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!