Answer:
savings = computeDiscountInfo(price, discount);
Step-by-step explanation:
First of all computeDiscountInfo is a function, not a class.
You can call this function and assign its return value to a variable, savings in this example.
1.6m questions
2.0m answers