aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ee1301/wk0/hw0/HW1_snell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ee1301/wk0/hw0/HW1_snell.cpp b/ee1301/wk0/hw0/HW1_snell.cpp
index 18de077..b8ca0b9 100644
--- a/ee1301/wk0/hw0/HW1_snell.cpp
+++ b/ee1301/wk0/hw0/HW1_snell.cpp
@@ -14,9 +14,9 @@ int main()
double inAngle, firstRI, secondRI;
cout << "Input incident angle in degrees: ";
cin >> inAngle;
- cout << "Input index of refraction of first medium in degrees: ";
+ cout << "Input index of refraction of first medium: ";
cin >> firstRI;
- cout << "Input index of refraction of second medium in degrees: ";
+ cout << "Input index of refraction of second medium: ";
cin >> secondRI;
inAngle = inAngle *M_PI / 180.0; // convert to radians