From c5cfb13239be30ebe7fccdafee233612cee0bcf6 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Sun, 27 Jan 2019 17:03:48 -0600 Subject: Fix input --- ee1301/wk0/hw0/HW1_snell.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ee1301/wk0') 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 -- cgit v1.2.3