int calculate(int Long,int Width,int Height);
int main()
{ int result;
int m_Long;
int m_Width;
int m_Height;
printf("请输入长度\n");
scanf("%d",&m_Long);
print("请输入宽度\n");
scanf("%d",&m_Width);
printf("请输入高度\n");
scanf("%d",&m_Height);
result=calculate(m_Long,m_Width,m_Height);
printf("长方形的体积是: ");
printf("%d\n",result);
return 0;
}
int calculate(int Long,int Width,int Height)
{int result=Long*Width*Height;
return result;
}