CodePudding user response:
By using the formula method
A=int (input ())
B=int (input ())
C=int (input ())
Sqrtdeta=(b * * * a * c) 2-4 * * 0.5
X1=(sqrtdeta - b)/(2 * a)
X2=(- sqrtdeta - b)/(2 * a)
CodePudding user response:
By using the formula method
A=int (input ())
B=int (input ())
C=int (input ())
Sqrtdeta=(b * * * a * c) 2-4 * * 0.5
X1=(sqrtdeta - b)/(2 * a)
X2=(- sqrtdeta - b)/(2 * a)