UVA 10195 - The Knights Of The Round Table UVA • Sep 1, 2020 Problem PDFSolution:#include #include int main () { double a,b,c,s,r; while(scanf("%lf%lf%lf",&a,&b,&c)==3) { if(a<=0||b<=0||c<=0) { printf("The radius of the round table is: 0.000\n"); continue; } s=(a+b+c)/2; r=(sqrt(s*(s-a)*(s-b)*(s-c)))/s; printf("The radius of the round table is: %.3lf\n",r); } return 0; } https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/10195/10195.cpp Tags UVA Competitive Programming Shipu Ahamed Recommended for you UVA UVA 913 - Joana and the Odd Numbers 4 years ago • 1 min read UVA UVA 871 - Counting Cells in a Blob 4 years ago • 3 min read UVA UVA 866 - Intersecting Line Segments 4 years ago • 3 min read