Calculation of 3 eqns at once and calculating the cost of the three items given the total

1 view (last 30 days)
Hi all i am trying to calculate a question regarding the prices of each item if you are given a total.
how would i calculate the prices of items given that:
Ben spent $18.25 on one pizza, five cans of coke and two bars of chocolate.
Jez spent $17.30 while buying two pizzas, one can of coke and three bars of chocolate.
Cath spent $23.50 while buying three pizzas, seven cans of soft drink and one chocolate bar.
i need to calcualte individual price for the three items and formulate the equations
im not sure where to start with this and any help would be greatly appreciated!
thanks in advance.
  10 Comments

Sign in to comment.

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by