Arithmetic Operators

Easy 10 points

Calculate the sum of 10 and 5, then display the result.

C supports arithmetic operators: + (addition), - (subtraction), * (multiplication), / (division), % (modulo).

Well done! 🎉
Your answer is correct! You earned 10 points.
Not quite...
Try again! You can do it.

Your code

Hint
Use int result = 10 + 5; then printf("%d\n", result);

Result

Click "Run code" to see the result of your code. Click "Submit" to check if your answer is correct.