c语言高手来帮我解下三角答:首先这段程序有错哈,我改了下在C++下能成功运行,你试下C嘛 include<math.h> int main(void){ float a,b,c,s,area;scanf("%f,%f,%f",&a,&b,&c);//s=1.0/2(a+b+c);s=float((a+b+c)/2);area=float(sqrt(s*(s-a)*(s-b)*(s-c)));printf("a=%7.2f,b=%7....
用C语言编程输出下三角形式的九九乘法表答:以下是Pascal语言源码,C语言只要在语法上调整一下 const num:array [0..15]of char = ('0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F');function convert(k:integer;n:integer):string;var i,m:integer;j:array[1..8]of integer;begin conv...