Return 0;

}


Та же самая программа написана при помощи ссылок, найдите отличия


#include<iostream.h>

#include<conio.h>

#include <math.h>

int sqwere(float a,float b, float c, float &x1,float &x2);

int sqwere(float a,float b, float c,float &x1,float &x2)

{ float d;

d=b*b-4.*a*c;

if(d<0.)return 0;

x1=(-b-sqrt(d))/(2.*a);

x2=(-b+sqrt(d))/(2.*a);

if(d==0.)return 1;

if(d>0) return 2;

}