At Westonci.ca, we provide clear, reliable answers to all your questions. Join our vibrant community and get the solutions you need. Explore our Q&A platform to find in-depth answers from a wide range of experts in different fields. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

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