aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk2/lab2/specrel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ee1301/wk2/lab2/specrel.cpp')
-rw-r--r--ee1301/wk2/lab2/specrel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ee1301/wk2/lab2/specrel.cpp b/ee1301/wk2/lab2/specrel.cpp
index ccbfda3..ba95469 100644
--- a/ee1301/wk2/lab2/specrel.cpp
+++ b/ee1301/wk2/lab2/specrel.cpp
@@ -13,9 +13,9 @@ Short Program Description: Special Relativity equation tool
using namespace std;
int main () {
-
double L,v,c;
c=3e+10;
+
cout << "Enter L: "; cin >> L;
cout << "Enter V: "; cin >> v;
cout << "Relative Length = " <<