c语言上机实践已知三角形三边长a,b,c,求三角形的内切圆半径和外切圆半径...答:C语言实现计算三角形内切圆半径和外接圆半径的代码:include <stdio.h> include <math.h> int main(){ double a, b, c, p, r, R;printf("请输入三角形的三条边长:");scanf("%lf %lf %lf", &a, &b, &c);p = (a + b + c) / 2;r = sqrt((p - a) * (p - b)...
C语言输入三角形的2条边和夹角输出三角形的面积,然后判断三角形的形状...答:include "stdio.h"#include "math.h"int main(int argc,char *argv[]){double a,b,c,C,pi=3.1415926,e=1E-6;printf("Please enter a, b(Length), C(Angle)...\n");scanf("%lf%lf%lf",&a,&b,&C);C=C/180*pi;//angle-->radianprintf("The area of this triangle is %f...