Programming Concepts Tutorial

Learn the fundamental concepts of computer programming

Operators

Operators

Operators are special symbols used to perform operations on variables and values.

Categories of Operators:

  • Arithmetic: + (Add), - (Subtract), * (Multiply), / (Divide), % (Modulo/Remainder).
  • Assignment: = (Assign value), += (Add and assign).
  • Comparison: == (Equal to), != (Not equal to), > (Greater than), < (Less than).
  • Logical: && (AND), || (OR), ! (NOT).

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics