Stuck at #6


#1

i don't know where i am wrong

var orangeCost = function(price) {
var val = 0 * 5;
console.log(val);
};

orangeCost("2")


#2

var orangeCost = function(price) {
var price = price * 5;
console.log(price);
};

orangeCost(5)


#3

I need help on this too, the instruction weren't that clear, please help me.
var price = function(5){
(price * 5);
}
It says I am missing a formal parameter


#4

var orangeCost = function (cost){
console.log(5 * cost);
};

orangeCost(5);

#5

So guys I was stuck on this, but after much dirty thoughts and thinking I finally got it. Here you guys are.

var orangeCost = function (price)
{
console.log(5 * price);
};

orangeCost(5);