To’rtta aylana xuddi rasmda ko’rsatilgandek bir-biriga urinadi. Agar 3 ta katta aylana radiusi a, b, c bo’lsa, to’rtinchi aylananing radiusi qanchaga teng?
#include
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
int a1,b1,c1;
a1=a+c;
b1=b+c;
c1=a+b;
double r;
double p;
p=(a1+b1+c1)*1.0/2;
double s;
s=sqrt(p*(p-c1)*(p-b1)*(p-a1));
r=a1*b1*c1*1.0/(4*s);
cout<}