int main() { float a, b, x; std::cout << "Cet algorithme calcule les solutions de l'équation a*x+b=0" << std::endl; std::cout << "Entrez a:"; std::cin >> a; std::cout << "Entrez b:"; std::cin >> b; if (a != 0) { x = -b / a; std::cout << "Resultat: x =" << x << std::endl; std::cout << "Verification: " << a <<"*"<