What will be the output of the following code?
var fruit = "apple";
var price;
switch (fruit) {
case "apple":
price = 1.99;
break;
case "banana":
price = 0.99;
break;
case "orange":
price = 0.79;
break;
default:
price = 0;
}
console.log(price);