QP School
JavaScript - Subtractions with variables - Printable Version

+- QP School (https://qomplainerzschool.lima-city.de)
+-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3)
+--- Forum: JavaScript Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=6)
+--- Thread: JavaScript - Subtractions with variables (/showthread.php?tid=4117)



JavaScript - Subtractions with variables - Qomplainerz - 04-04-2023

Code:
let a = 10;
let b = 5;
let c = a - b;

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