Question

What is printed by the following program?

function product(x, y){
return x * y;
}

function difference(x, y){
return x - y;
}

function start(){
var x = 2;
var y = 5;
var value1 = product(x, y);
var value2 = difference(y, x);

var result = difference(value1, value2);
println(result);
}
JavaScript


7


-7


13


-13

Answers

There are no human answers yet.
Answered by GPT 3.5
-7

Related Questions