已知梯形的上底为a,下底为b,高为h,用C语言书写的正确的面积公式是()。
A.1/2*(a b)*h
B.1.0/2*(a b)*h
C.1.0/2.0(a b)h
D.1.0\2*a b*h
正确答案:1.0/2*(a b)*h
猜你喜欢