function displayOutput(massage){
const element = document.getElementById("jsoutput4");
element.innerHTML = massage;
}
function calculateF(A, B, C){
var D = B = A;
var E = D * 5;
var F = E * C;
return D
}
var G = calculateF(100, 20, 10);
displayOutput("your answer is" + calculateA);
<p id="jsoutput"></p>
I have tried changing the displayoutput but i don’t get an answer to the function i have set
2
Answers