Wats wrong in my code


Replace this line with your code. 


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.


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