11 lines
154 B
C++
11 lines
154 B
C++
#include <iostream>
|
|
using std::cout, std::endl;
|
|
|
|
int cubeV(int x) {
|
|
return x * x * x;
|
|
}
|
|
|
|
int main() {
|
|
int x = 3;
|
|
cout << cubeV(x) << endl;
|
|
}
|