For what purpose do you need to know the Arithmetic Operators? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

For what purpose do you need to know the Arithmetic Operators?

1st Dec 2016, 1:31 AM
Yasmani Castaneda
2 Respostas
+ 2
to do almost all basic calculations inside program for example a loop for(var i=0; i<9; i++){ sum+=0; }
1st Dec 2016, 3:33 AM
Sandeep Chatterjee
+ 1
Computers were programmed to think with those operators. They also learned it as PEMDAS. It will look for parentheses first in your code, then exponents(or functions that do the same), then it will multiply or divide, then add/subtract. Knowing how those work will help you in coding and debugging that code.
1st Dec 2016, 3:32 AM
Page Sparks
Page Sparks - avatar