12345678910111213141516171819
#include <iostream> using namespace std; int main() { float n1; float cube; cout << "Enter a real number: "; cin >> n1; cube = n1*n1*n1; cout << cube << endl; system("pause"); }