Finding roots. (c++)
#include <iostream.h>
#include <conio.h>
#include <math.h>
float a,b,c,s,root,R;
int main()
{ clrscr();
cout«”enter an number for a : “;
cin»a;
cout«”enter an number for b : “;
cin»b;
cout«”Enter an number for c : “;
cin»c;
s=(a+b+c)/2;
root=s*(s-a)*(s-b)*(s-c);
R=(a*b*c)/(4*pow(root,0.5));
cout«”radius = ” «R«”\n”;
getch();
return 0;
}