Created
March 1, 2017 15:05
-
-
Save iamsurya/b5b3d9442740aa69b247ab95e39cc4e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Raju Pengananapuram looks at Sonik's program and finds it very useful. | |
However he realized that NASA's scientists want time to be between | |
1 seconds and 21 seconds with 2 second intervals (1, 3, 5... 21) | |
and the European Space Agency wants time between 30 and 180 seconds | |
with 30 second intervals (30, 60, 90... 180). | |
Recreate the program using while loops. Ask Raju for velocity, start time, end time | |
and interval. | |
Also create another version of the program that does the same using for loops. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment