Segundo programa de ecuaciones cuadraticas
public class QuadraticEquationSolver { public static void main(String[] args) { Scanner input = new Scanner(System.in); String respuesta = "si"; while(respuesta.equals("si")) { double a, b, c; double r1 = 0, r2 = 0, i1 = 0, i2 = 0; System.out.print("Ingrese el valor de a: "); a = input.nextDouble(); System.out.print("Ingrese el valor de b: "); b = input.nextDouble(); System.out.print("Ing...