Question: Create an app that shows the 2 - step math required to solve a linear equation of the form ax + by = c .

Create an app that shows the 2-step math required to solve a linear equation of the form ax + by = c.
1. Get the values a, b, c from the user.
2. Display the equation.
3. Show the steps to solve it.
4. Ask the user if they would like to run again.
Solve any linear equation of the form: ax + by= c
Example :
Your equation: 3x +5y =8
First step: 3x =8-5y
Second step: x =2.67-1.67y
Would you like to run again (y or n)?
I need a code in C++ that follows the directions above. I need to make sure that the results are in decimals and in the form ax+by=c.Thank You. The image is the code I have right now but I cant figure out how to add the by to the equation. If you can let me know what to add in order to get the equation ax+by=c that would be great, but if not a whole new code will be fine.
 Create an app that shows the 2-step math required to solve

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!