0

Hi guys,

Okay so lets say I've got a functions program that asks the user for a product quantity, the cost to make the product, and the selling price of the product. I want to make a function called total() to receive either the quantity and cost, or the quantity and price, and return the total. The total() function will be used to calculate the total cost and total price, but how do I write it so it will accept two different arguments like that?

Looking forward to your help!

Thanks!