package yuan;public class Yuan { public static void main(String[] args) { int a = 1; int b = 8; int c = 3; int d = b*b-4*a*c; if(a==0){ System.out.println("无"); } else{ if(a != 0){ if(d > 0) System.out.println("有2个"); } else{ if(d == 0) System.out.println("有1个"); } { if(d < 0) System.out.println("木有"); } } // TODO 自动生成的方法存根 }}