/* Jan24a.cpp Dave Klick CIS 150 2017-01-24 Assignment #1 Simple I/O and calculations. */ #include using namespace std; int main() { // storage (declare variables) float f1; float result; // input cout << "Enter a number: "; cin >> f1; // processing result = f1 * f1 * f1; // output cout << result << endl; // pause cout << "Press Enter to continue..."; cin.ignore(); cin.get(); return 0; }