the average cost
Hello, I'd like to ask about calculating the average cost of a specific item. For example: 1 * 180 1 * 110 3 * 35. The average should be 79. However, the program adds the three prices and divides them by 3 instead of 5, resulting in an average of 108.33. How can we solve this problem?
Please sign in to leave a comment.
Comments
0 comments