include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
const double PI=3.14159;//定义pi为double类型
int main(){
double A,B,C;
cin>>A>>B>>C;
printf(“TRIANGULO: %.3lf\n”,(1/2.0)AC);
printf(“CIRCULO: %.3lf\n”,PICC);
printf(“TRAPEZIO: %.3lf\n”,(1/2.0)(A+B)C);
printf(“QUADRADO: %.3lf\n”,BB);
printf(“RETANGULO: %.3lf\n”,AB);
return 0;
}
您可以用一下
markdown语法吗