Untitled

mail@pastecode.io avatar
unknown
c_cpp
7 months ago
244 B
0
Indexable
Never
#include <iostream>
using namespace std;

float obem(float x) {
	return x * x * x;
}
int main() {
	setlocale(LC_ALL, "Russian");
	cout << "Введите длину ребра: ";
	float x, a;
	cin >> x;
	a = obem(x);
	cout << a;
}
Leave a Comment