Hello ,

I'm pretty new in C++ programming, and i just have received new mission:

Write a program to solve the linear equation ax + b = 0

The problem is that i can't understand what exactly i have to do?

Maybe with example i will...

Printable View

- 11-12-2008unix7777solve linear equation
Hello ,

I'm pretty new in C++ programming, and i just have received new mission:

Write a program to solve the linear equation ax + b = 0

The problem is that i can't understand what exactly i have to do?

Maybe with example i will... - 11-12-2008laserlight
Do you know how to solve it if you were given this question in a maths exam?

- 11-12-2008unix7777no
- 11-12-2008valaris
I believe -b/a will be your solution. So try writing that in C++.

- 11-12-2008iMalc