Connect with experts and get insightful answers to your questions on IDNLearn.com. Find reliable solutions to your questions quickly and easily with help from our experienced experts.

Question #1
Dropdown
What is the value of the totalCost at the end of this program?
quantity = 5
cost = 3
totalCost = quantity * cost
totalCost is
15
3
8


Sagot :

Answer:

the answer is 25

Explanation:

because ot is 25 due to the GB

The total cost when given cost as 3 and quantity as 5 is; 15

We are given;

Quantity = 5

Cost = 3

Now we are told that formula for the total cost is;

Total Cost = quantity × cost

Plugging in the given values of quantity and cost gives us;

Total Cost = 5 × 3

Total cost = 15

In conclusion, the total cost from the values of quantity and individual cost we are given is 15

Read more about total cost at;https://brainly.com/question/2021001