#include <iostream.h>
#include <stdlib.h>
#include <math.h>
//bu program ile "ax2+c" şeklinde bir ifadenin x degerleri bulunur
const double main()
{
double a, c, x;
cout <<"ax2+c=0 denkleminde a ve c degerleri icin birer rakam girin:" <<endl;
cout <<"a=";
cin >>a ;
cout <<"c=";
cin >>c;
cout <<endl;
if (c/a<0) cout <<"x1=" <<sqrt(-c/a) <<", " <<"x2=" <<"-" <<sqrt(-c/a) <<"\n" <<endl;
if (c/a>=0) cout <<"gercel cozum kumesi yok" <<"\n" <<endl;
system("PAUSE");
return 0;
}