For requirement 5a:
./run-legacy
./run
For requirement 5b:
./build
This will build and run the program. The run file is named run.
Then, when you want to run the program (after the time where it runs it in build), use this command:
./run
This will run the program.
For requirement 5c: Open this file.
Sample output for Python 2.7.10:
./run-legacy This is the original program. Enter next temperature in degrees Farenheight (F):101 ('Temperature in degrees C is:', 38) Remember to hydrate! Input another?0 This is the for the first requirement. Enter next temperature in degrees Farenheight (F):-10 ('Temperature in degrees C is:', -24) Pack warm clothes! Input another?0 This is the for the second requirement. Enter next temperature in degrees Farenheight (F):-30 ('Temperature in degrees C is:', -35) Pack long underwear! Input another?0 This is the for the third requirement. Enter next temperature in degrees Farenheight (F):130 ('Temperature in degrees C is:', 54) Remember to hydrate! Maybe you should reconsider going on this trip. Input another?0 This is the for the fourth requirement. What is your name?Bob Hello, Bob Bob, enter next temperature in degrees Farenheight (F):-1 ('Bob, the temperature in degrees C is:', -19) Hey Bob, Pack long underwear! Bob, would you like to input another?0 This is for the final requirement. Enter money in USD ($) > 100000 This is the amount of money in EURO'S: 87000.0
Sample Output for Python 3.710:
./run This is the original program. Enter next temperature in degrees Farenheight (F):72 Temperature in degrees C is: 22.22222222222222 Input another?0 This is the for the first requirement. Enter next temperature in degrees Farenheight (F):100 Temperature in degrees C is: 37.77777777777778 Input another?0 This is the for the second requirement. Enter next temperature in degrees Farenheight (F):12 Temperature in degrees C is: -11.11111111111111 Input another?0 This is the for the third requirement. Enter next temperature in degrees Farenheight (F):-4 Temperature in degrees C is: -20.0 Pack long underwear! Input another?0 This is the for the fourth requirement. What is your name?Bob Hello, Bob Bob, enter next temperature in degrees Farenheight (F):124 Bob, the temperature in degrees C is: 51.111111111111114 Hey Bob ,Remember to hydrate! Bob, would you like to input another?0 This is for the final requirement. Enter money in USD ($) > 72 This is the amount of money in EURO'S: 62.64 Thank you!
Sample Output for Guess My Number
./run Choose a number between 1 and 10 > 7 That was not correct. You have 2 guesses left. Choose a number between 1 and 10 > 3 That was not correct. You have 1 guess left. Choose a number between 1 and 10 > 9 You guessed the number correctly!