#include <stdio.h>
#define Height 10

int main(){
    int width;
    int clong;
    int result;
    
    printf("请输入长方形的宽:\n");
    scanf("%d", &width);
    
    printf("请输入长方形的长:\n");
    scanf("%d", &clong);
    
    result = Tiji(width, clong);
    printf("长方形的体积是:%d", result);
    
    return 0;
}

int Tiji(int width, int clong){
    return width * clong * Height;
}

 

相关文章:

  • 2021-08-18
  • 2021-07-15
  • 2021-07-30
  • 2022-02-20
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
猜你喜欢
  • 2021-10-16
  • 2022-12-23
  • 2021-07-19
  • 2021-05-24
  • 2021-06-26
  • 2022-12-23
  • 2021-06-11
相关资源
相似解决方案