CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Modulo With Negatives

C# code walkthrough · Question 42
hardOperators

Code

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

Your answer