aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk6/lab5/momentum.cpp
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-04-23 13:05:13 -0500
committerRossTheRoss <msattr@gmail.com>2019-04-23 13:05:13 -0500
commit4bee5d821800302a35f2d4ab07ecaa234e06a242 (patch)
treea9a882737df0b3699492495f5b82b0f59224388b /ee1301/wk6/lab5/momentum.cpp
parentMore lab (diff)
downloadhomework-4bee5d821800302a35f2d4ab07ecaa234e06a242.tar
homework-4bee5d821800302a35f2d4ab07ecaa234e06a242.tar.gz
homework-4bee5d821800302a35f2d4ab07ecaa234e06a242.tar.bz2
homework-4bee5d821800302a35f2d4ab07ecaa234e06a242.tar.lz
homework-4bee5d821800302a35f2d4ab07ecaa234e06a242.tar.xz
homework-4bee5d821800302a35f2d4ab07ecaa234e06a242.tar.zst
homework-4bee5d821800302a35f2d4ab07ecaa234e06a242.zip
E
Diffstat (limited to 'ee1301/wk6/lab5/momentum.cpp')
-rw-r--r--ee1301/wk6/lab5/momentum.cpp1
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: <";