Write a program that reads three double values a, b, c, and then solves the simple equation:
a * x + b = c
The program should output the value of x.
It's guaranteed that a is not 0.
Write a program that reads three double values a, b, c, and then solves the simple equation:
a * x + b = c
The program should output the value of x.
It's guaranteed that a is not 0.
Sample Input 1:
2 -1 2Sample Output 1:
1.5Create a free account to access the full topic