# بليز يالي بيعرف حل السؤال يساعدني

#### أفروديت

##### عضو جديد
The roots of the quadratic equation ((ax^2+bx+c)),anot equal zero are given by the following formula:-b+-(sequareroot of b^2- 4ac)/2a

In this formula, the term b^2-4ac is called the discriminant. If
b^2-4ac=0, then the equation has a single root. If b^2-4ac>0, the equation has two real roots. If b^2-4ac<0, the equation has two complex roots. Write a program that prompts the user to input the value of a (the coefficient of ), b (the coefficient of x), and c (the constant term), and outputs the type of roots of the equation. Furthermore, if b^2-4ac>=0, the program should output the roots of the quadratic equation.

1) Use IF/ Else, and Select Case blocks
2) Following are sample results
· a=1 b=-11 c=28 Solutions are 4 and 7
· a=1 b=-6 c=9 Solution is 3

هالسؤال مطلوب أحله باستخدام الفيجيوال بيسك
· a=1 b=4 c=5 No solution