Wats wrong in my code


#1



Replace this line with your code. 



#2

you should take the price as a parameter of the orangeCost function.

so remove the price variable from the first line and take price as parameter.

now call the function with 5 as an argument.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.