摘要: 水题不解释#include #include int main(){ int i=1,flag=0; double a,b,c; while(scanf("%lf%lf%lf",&a,&b,&c)!=EOF&&a||b||c) { printf("Triangle #%d\n",i++); if(a==-1) { if(b>=c) flag=-1; else { a=sqrt(c*c-b*... 阅读全文
posted @ 2013-09-23 22:46 xlturing 阅读(305) 评论(0) 推荐(0) 编辑