<html><div style='background-color:'><DIV class=RTE>
<P>hola a todo</P>
<P>Ya hicecon todas las correciones pero aun no me compila quiesiera saber en estoy mal</P>
<P>#include<iostream><BR>#include<cmath><BR>using namespace std; <BR>int main()<BR>{<BR>    double a, b, c, x1, x2, aux;<BR>    cout<<"ingrese a";     cin>>a;<BR>    cout<<"ingrese b";     cin>>b;<BR>    cout<<"ingrese c";     cin>>c;<BR>    <BR>    if(a=0)<BR>    {<BR>      dis=b*b-4*a*c;<BR>            if(dis>=0)<BR>            {<BR>                   
if(dis==0)<BR>                   {<BR>                   cin>>x<BR>                   x1=x2=-b/(2a);<BR>                   cout<<x1<<x2<<endl;<BR>                   }<BR>                   else<BR>                   
{<BR>                   cout<<"escribir x1, x2 :";<BR>                   cin>>x1;<BR>                   cin>>x2;<BR>                   aux=sqrt(b*b-4*a*c);<BR>                   x1=(-b+aux)/(2a);<BR>                   
x2=(-b-aux)/(2a);<BR>                   cout<<x1<<","<<x2<<endl;<BR>                   }<BR>            }<BR>            else<BR>            {<BR>                cout<<"raiz compleja";<BR>            }<BR>    }<BR>    else<BR>    {<BR>        cout<<"no es una ecuacion de segundo grado";<BR>    
}<BR> cin.get();<BR> return 0;<BR>}                            <BR><BR></P>
<DIV></DIV><FONT color=#000000></DIV>
<DIV></DIV></FONT></div><br clear=all><hr>Charla con tus amigos en línea mediante MSN Messenger: <a href="http://g.msn.com/8HMBES/2728??PS=47575" target="_top">Haz clic aquí</a> </html>