logo

Crowdly

Browser

Add to Chrome

Укажіть, що буде результатом виконання цього коду: function getPrice(amount)...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Укажіть, що буде результатом виконання цього коду:

function getPrice(amount){

  if (amount < 20) {

    return amount * 10;

  } else if (amount < 50) {

    return amount * 8;

  }

  return amount * 5;

}

getPrice(10);

More questions like this

Want instant access to all verified answers on b.optima-osvita.org?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome