We can add to numbers and display the result like this
document.write(x); Output 7
var x =4-2
document.write(x); // Output 2
document.write(x); Output 36
To get the reminder of this division we have to use modulus.