. (填空题) 【程序填空】题目:计算矩形的面积,请填空。 -------------------------------------------------------* # include <iostream.h> /**********SPACE*********/ float mul(【1】) { return (a*b); } int main() { float x, y; cin>>x>>y; /*******
时间: 2023-07-06 19:43:22 浏览: 75
SPACE:float a, b; /*******/
```cpp
#include <iostream.h>
float mul(float a, float b) // 在括号内填入 float a, float b
{
return (a * b);
}
int main()
{
float x, y;
cin >> x >> y;
cout << mul(x, y) << endl;
return 0;
}
```
阅读全文