Java calculation | Sololearn: Learn to code for FREE!

+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 •

5/21/2017 7:36:07 PM

TrueJu

2 Answers

New Answer

+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

+2

thank you :D i was waiting so long for an answer