<prompt> Andika msimbo C ili kutathmini mlingano wa quadratic.  <response>: Huu hapa ni msimbo wa C ambao hutathmini mlingano wa quadratic wa fomu ax2 bx c 0. c include include int main double a, b, c, kibaguzi, root1, root2; printfIngiza mgawo a, b na c: n; scanflf lf lf, a, b, c; kibaguzi b b - 4 a c; Mizizi halisi ikiwa kibaguzi 0 root1 -b sqrtkibaguzi 2 a; mzizi2 -b - sqrtkibaguzi 2 a; printfroot1 .2lf na root2 .2lf, root1, root2; Mizizi iliyorudiwa pengine ikiwa kibaguzi 0 root1 root2 -b 2 a; printfmzizi1 root2 .2lf;, root1; Mizizi tata nyingine realPart -b 2 a; imagPart sqrt-discriminant 2 a; printfmizizi1 .2lf.2lfi na root2 .2f-.2fi, realPart, imaginaryPart, realSehemu, imaginarySehemu; kurudi 0; 