Custom Calculator
Enter the required values to calculate your result.
function calculateCustom() {
const value1 = parseFloat(document.getElementById(“inputValue1”).value);
const value2 = parseFloat(document.getElementById(“inputValue2”).value);
const value3 = parseFloat(document.getElementById(“inputValue3”).value);
if (isNaN(value1) || isNaN(value2) || isNaN(value3) || value1 <= 0 || value2 <= 0 || value3 el.value = “”);
}