Odpowiedź:
#include <iostream>
int main() {
constexpr int a{5};
constexpr int b{10};
constexpr int c{15};
constexpr long v{a*b*c};
constexpr long pb{2*a*b+2*a*c+2*b*c};
std::cout << "Objętość wynosi: " << v << std::endl;
std::cout << "Pole powierzchni bocznej wynosi: " << pb << std::endl;
return 0;
}