标签:can bsp int oat col include while eof float
#include<stdio.h> int main () { float a,b,h,s; while(scanf("%f,%f,%f",&a,&b,&h)!=EOF) { s=(a+b)*h/2; printf("%.2f",s); } return 0; }
标签:can bsp int oat col include while eof float
原文地址:https://www.cnblogs.com/Estwind/p/9710471.html