sahal_sf
لم يقم بتفعيل عضويته
double a,b,c,r1; Scanner S = new Scanner (System.in); a= S.nextDouble(); b= S.nextDouble(); c= S.nextDouble(); r1 = (-1*b + Math.sqrt(b*b - 4*c) / 2); System.out.println(r1);