roots of equation
CodeChefOpen on judge ↗
You have given a quadratic equation you have to find a nature of root in it. you have given three coefficient A,B,C of a quadratic equation AX^2+BX+C . nature of root is depend on the value of discriminant which is equal to (B^2-4 x A x C) where A is first term B is 2nd term and C is 3rd term of equation there is 3 type of root can be possible - 1 imaginary : if the value of discriminant less
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start