+ 1

Java calculation

var x=5+5; document.write(x) is a working calculation with output 10. But wich signs represent - , : and • ? because if i write • java don't get that i mean •

21st May 2017, 7:36 PM
TrueJu
TrueJu - avatar
2 Réponses
+ 1
var x = 5 + 5 // x = 10 sum x = 5 - 5 // x = 0 subtraction x = 5 * 5 // x = 25 multiplication x = 5 / 5 // x = 1 division x = 5 % 5 // x = 0 remainder of integer division
21st May 2017, 8:30 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 2
thank you :D i was waiting so long for an answer
21st May 2017, 8:31 PM
TrueJu
TrueJu - avatar