Go Program to Find Roots of a Quadratic Equation

Golang Program to calculate Roots of a Quadratic Equation 2

Write a Go Program to Find Roots of a Quadratic Equation using If Else statement. The roots of a Quadratic Equation (ax2+bx+c) depends upon the discriminant value. package main import ( “fmt” “math” ) func main() { var a, b, c, root1, root2, imaginary, discriminant float64 fmt.Print(“Enter the a, b, c of Quadratic equation = … Read more