From 4bee5d821800302a35f2d4ab07ecaa234e06a242 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Tue, 23 Apr 2019 13:05:13 -0500 Subject: E --- ee1301/wk6/lab5/momentum.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'ee1301/wk6/lab5/momentum.cpp') 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: <"; -- cgit v1.2.3