1. Engineering
  2. Computer Science
  3. 02 small chocolate bars cost 1 dollar and large chocolate...

Question: 02 small chocolate bars cost 1 dollar and large chocolate...

Question details

02 Small chocolate bars cost 1 dollar and large chocolate bars cost three dollars. Write a function that takes two parameters representing the number of small chocolate bars and number of large chocolate bars, and returns the total ollar cost.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution