CJCoding With Joseph
← Back to Question List
C# Code Walkthrough #42

Modulo With Negatives

hardOperators

📄 Code

Read carefully — what does this print?
1Console.WriteLine(-7 % 3);
2Console.WriteLine(7 % -3);

🎯 Your Answer