Di dieu mangrupa program C basajan nu bisa ngajawab persamaan kuadrat bentuk ax^2 + bx + c = 0 ngagunakeun rumus kuadrat: ``` #include <stdio.h> #include <math.h> int main() { ganda a, b, c, discriminant, root1, root2; printf("Enter koefisien a, b, jeung c: "); scanf("%lf %lf %lf %lf", &a, &b, &c); discriminant = b * b - 4 * a * c; lamun (discrant > 0) {root1 = (-b + sqrt discriminant)) / (2 * a); root2 = (-b - sqrt discriminant)) / (2 * a) printf.2); Itllll) t real jeung "Partn:Partn:Partn:Partn: Partn:
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence