diff options
author | RossTheRoss <msattr@gmail.com> | 2019-01-27 17:03:48 -0600 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-01-27 17:03:48 -0600 |
commit | c5cfb13239be30ebe7fccdafee233612cee0bcf6 (patch) | |
tree | cc75f19f4aa82edab88f742a127d481b7d61cc8f /ee1301/wk0 | |
parent | Finish Homework (diff) | |
download | homework-c5cfb13239be30ebe7fccdafee233612cee0bcf6.tar homework-c5cfb13239be30ebe7fccdafee233612cee0bcf6.tar.gz homework-c5cfb13239be30ebe7fccdafee233612cee0bcf6.tar.bz2 homework-c5cfb13239be30ebe7fccdafee233612cee0bcf6.tar.lz homework-c5cfb13239be30ebe7fccdafee233612cee0bcf6.tar.xz homework-c5cfb13239be30ebe7fccdafee233612cee0bcf6.tar.zst homework-c5cfb13239be30ebe7fccdafee233612cee0bcf6.zip |
Fix input
Diffstat (limited to '')
-rw-r--r-- | ee1301/wk0/hw0/HW1_snell.cpp | 4 |
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 |