// Page 066 import java.util.Scanner; class Prog_5_5 { public static void main(String[] args) { Scanner input = new Scanner (System.in); int a,b,c; double x,y; a = input.nextInt(); b = input.nextInt(); c = input.nextInt(); double disc = b*b - 4.0 * a * c; if ( disc > 0 ) { x=(-b+Math.sqrt(disc))/(2.0*a); y=(-b-Math.sqrt(disc))/(2.0*a); System.out.println("The roots are: "+ x + ", " + y); } else if ( disc==0 ) { x=(-b+Math.sqrt(disc))/(2.0*a); System.out.println("The root is: "+ x); } else System.out.println("No root."); } }