Calculator 0 C ← 7 8 9 / 4 5 6 * 1 2 3 - 0 . = + let result = document.getElementById("result"); function clearResult() { result.innerHTML = "0"; } function appendNumber(number) { if (result.innerHTML === "0") { result.innerHTML = number; } else { result.innerHTML += number;
Post a Comment