ELI5: Explain Like I'm 5

Operator (computer programming)

An operator is like a little helper for your computer program that knows how to do certain things with numbers or pieces of information.

Imagine that you have a bunch of apples and you want to put them into groups of three. An operator called "division" can help you do this. You can tell your program to take the total number of apples and divide it by 3 using the division operator, and then the program will figure out how many groups of three you can make and how many apples will be left over.

There are lots of other operators too, like addition, subtraction, multiplication, and more. Each one does a different thing with the numbers or information that you give it. For example, the addition operator helps you add two numbers together, while the subtraction operator takes one number away from another.

Operators are important parts of computer programming because they let you do all sorts of math and logic operations on the data in your program, which can help you solve problems and make your code work better.
Related topics others have asked about: