HTML CSS Javascript jQuery AJAX PHP Java MORE

JavaScript Arithmetic Operators

<!DOCTYPE html>
<html>
<body>

<p>A typical arithmetic operation takes two numbers (or expressions) and produces a new number.</p>

<p id="demo"></p>

<script>
var a = 3;
var c = (100 % 50) * a;
document.getElementById("demo").innerHTML = c;
</script>

</body>
</html>

Run it yourself