# Write a C++ program to Solve Quadratic equation

Write a program that calculates the real solution of the quadratic equation ax²+bx+c=0
Read in the values for the parameters a,b,c(type float).
Then the program should calculate the solution considering the following circumstances:
a=0andb=0=>Not a valid equation
a=0 and b≠0 => x=-c/b
b² -4ac < 0 => Not a Real Solution
b² -4ac >0 => x1= (-b+√(b² -4ac))/2a , x1= (-b -√(b² -4ac))/2a
Hint:The c++ function for √x is sqrt(x).
To use this function you need to includemath.has a header file#include<math.h>

Solution-

# Partner Sites

## SqliteTutorials.com

### Stuff I use to make videos

Windows notebook - http://amzn.to/2ADOPrW

Apple MacBook Pro - http://amzn.to/2AC0WG2

Ubuntu notebook - https://amzn.to/2GE4giY

Desktop - http://amzn.to/2zct252

Microphone - http://amzn.to/2AC1kV0

notebook mouse - http://amzn.to/2BmeZ2d

Screen Recording Software – Camtasia

### Online Courses to learn

Java - https://bit.ly/2H6wqXk

AngularJS - https://bit.ly/2qebsLu

Python- https://bit.ly/2Eq0VSt

Android - https://bit.ly/2qaRSAS

Linux - https://bit.ly/2IwOuqz

AWS Certified Solutions Architect - https://bit.ly/2JrGoAF

Modern React with Redux- https://bit.ly/2H6wDtA

MySQL - https://bit.ly/2qcF63Z