write program for solving quadratic equation using if.... else statement in c
Answers
Answered by
1
Explanation:
Program 1: calculate roots of a quadratic equation
#include<stdio.h>
#include<math.h>
int main(){
float a,b,c;
float d,root1,root2;
printf("Enter a, b and c of quadratic equation: ");
scanf("%f%f%f",&a,&b,&c);
Similar questions