Needing a real life example of the use of integers

255 views

So i’m trying to understand more about math. For the operation – – = +, what would be a real life example of me meeting with that situation?

Thank you!

In: 0

7 Answers

Anonymous 0 Comments

A great example would be in the field of programming.

Dependent upon the language, you may need to specify variables with a “data type” in front of it. Something like “int num = 0”. Another example would be a shorthand method of subtraction/addition.

int += / int ++ which is basically int = int + 1 or something like int — which is int = int – 1.

The syntax may differ from language to language so take this with a grain of salt, but the idea is still there.

You are viewing 1 out of 7 answers, click here to view all answers.