QP School

Full Version: JavaScript - Subtractions with variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
let a = 10;
let b = 5;
let c = a - b;

document.getElementById("demo").innerHTML = c;