#include<stdio.h>
int main()
{
int width;
int height;
puts("求长方形面积。");
printf("长:"); scanf("%d", &width);
printf("宽:"); scanf("%d", &height);
printf("面积是%d,\a\n", width * height);
}
01-21
2209
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-11
628
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交