How to write a program in c++ to solve linear equation ax+b=0?
its a university task…i highly recommend you give d complete program include int main() int the, b, back button; cout<<"enter values for a and b:"; cin>>a>>b; x=-b/a; cout<<"value with x is"<<x<<endl; Here’s the code anyone need int major () drift a; drift b; drift x; cout <<"Solve linear equation, first …