/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. *******************************************************************************/ #include #include using namespace std; int main () { float a, b, c,x,x1,x2; cout << " a:"; cin >> a; cout << " b:"; cin >> b; cout << " c:"; cin >> c; if (a!=0) { if (b*b>4*a*c) { x1=(-1*b-sqrt(b*b>4*a*c))/(2*a); x2=(-1*b+sqrt(b*b>4*a*c))/(2*a); cout << "Koreny kvadraticke rovnice jsou: " <