摘要:
#includemain( ){ int year , leap; scanf("%d",&year); if((year%9==0&&year%100!=0)||(year%400==0)) printf("%d is a leap year.\n",year); else p... 阅读全文
摘要:
#include#includeint main(){double a,b;scanf("%lf%lf",&a,&b);printf("%.5lf\n",a*sqrt(b));return 0;} 阅读全文
摘要:
#include#include#includeint main(){float a,b,c,s,area;scanf("%f%f%f",&a,&b,&c);s=1.0/2*(a+b+c);area=sqrt(s*(s-a)*(s-b)*(s-c));printf("a=%7.2f,b=%7.2f,... 阅读全文