Write a program using switch

My son succeed in c program quadratic equation using switch statement is an expression value is true if