import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scn=new Scanner(System.in);
int a=scn.nextInt();
int b=scn.nextInt();
int c=scn.nextInt();
int x,y;
if(((bb)-(4a*c))>0)
{ x=((-b)+((b*b)-(4*a*c)))/(2*a);
y=((-b)-((b*b)-(4*a*c)))/(2*a);
System.out.println("roots are real and distinct");
System.out.print(x +" ");
System.out.println( y);
}
else if(((b*b)-(4*a*c))>=0)
{ System.out.println("roots are real and equal");
x=(-b)/(2*a);
y=(-b)/(2*a);
System.out.print(x +" ");
System.out.println(y);
}
else
{ System.out.println("roots are imaginary");
System.out.println("complex roots");
}
}
}
how to find square of number