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

Integer Division and Modulo

easyOperators

📄 Code

Read carefully — what does this print?
1int a = 7;
2int b = 2;
3Console.WriteLine(a / b);
4Console.WriteLine(a % b);

🎯 Your Answer