is something wrong with my code below?
public class testing111 {
public static void main(String[] args) {
int t = 0;
System.out.println((t-5)%360);
}
}
My code above outputs -5. I thought the answer should be 355 and I even checked wolframalpha: http://www.wolframalpha.com/input/?i=%280-5%29%25360
What is causing it to do this?
Thanks!