| 1 |
#include <iostream>
|
| 2 |
using namespace std;
|
| 3 |
|
| 4 |
int calculateArea(int length, int width) {
|
| 5 |
return length * width;
|
| 6 |
}
|
| 7 |
|
| 8 |
int calculateVolume(int area, int height) {
|
| 9 |
return area * height;
|
| 10 |
}
|
| 11 |
|
| 12 |
void printResult(int result) {
|
| 13 |
cout << result << endl;
|
| 14 |
}
|
| 15 |
|
| 16 |
int main() {
|
| 17 |
int length;
|
| 18 |
int width;
|
| 19 |
int height ;
|
| 20 |
cin >> length >> width >> height;
|
| 21 |
// Вставьте недостающую строку кода
|
| 22 |
|
| 23 |
|
| 24 |
return 0;
|
| 25 |
}
|