public class SolveEquation{
static int calDelta(int a, int b, int c){
public static void Main(){
Console.WriteLine("There is no real roots.");
Console.WriteLine("There are repeated roots: {0}.", -b/(2*a));
double root1 = (-b+Math.Sqrt(b*b-4*a*c))/(2*a);
double root2 = (-b-Math.Sqrt(b*b-4*a*c))/(2*a);
Console.WriteLine("There are two real roots: {0} and {1}.",root1,root2);