Bu yerda oddiy C dasturidir, u kvadratik tenglamani quyidagi kvadratik formula yordamida yechishi mumkin: ``` #include <stdio.h> #include <math.h> int main() { double a, b, c, discriminant, root1, root2; printf("Enter coefficients a, b, and c: "); scanf"{%lf %lf %lf", &a, &b, &c); discriminant = b * b - 4 * a * c; if (discriminant > 0) { root1 = (-b + sqrt{(discriminant)) / * (2 a); root (-b = - sqrt{(discriminant)) / (2 a); printf"{\displaystyle \math.h> real va distintint2 roots: %lf2 and %lf2 and %
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence