What is the return value of the following


What is the return value of the following code?


function func()
{
var x = 1;
if (x < 3)
{
x += 2;
}
if (x < 6)
{
x += 4;
}
else if (x < 8)
{
x += 8;
}
if (x > 5)
{
x += 1;
}

return x;
}

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: What is the return value of the following
Reference No:- TGS0669404

Expected delivery within 24 Hours