Please help out......still there is error..."Exception in thread"

import java.util.;
import java.lang.Math;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
double d = (b
b-4ac);
double val = Math.sqrt(Math.abs(d));
if(d>0)
{
System.out.println(“Real and Distinct”);
System.out.print((double)(-b+val)/(2a) + (double)(-b-val)/(2a));
}

 if(d==0) 
 {
  System.out.println("Real and Equal"); 
  System.out.print(d+" ");
   System.out.print(d); 
   
} 
if(d<0)
{ 
System.out.println("Imaginary"); 
} 

}

}

if d is 0
then root of Quadratic Equation is -b/(2*a)
If Real and Distinct , print the roots in increasing order.
correct code