diff options
Diffstat (limited to '')
-rw-r--r-- | ee1301/wk6/lab5/momentum.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ee1301/wk6/lab5/momentum.cpp b/ee1301/wk6/lab5/momentum.cpp index 0a19e04..a49be54 100644 --- a/ee1301/wk6/lab5/momentum.cpp +++ b/ee1301/wk6/lab5/momentum.cpp @@ -9,6 +9,7 @@ int main() { std::cin >> velocity[0] >> velocity[1] >> velocity [2]; std::cout << "Please enter mass [kg]: "; std::cin >> mass; + double* vector; vector = new double[3]; std::cout << "Momentum: <"; |