Honors 270 Assignment 2

Due September 22


Please turn in this assignment (and all future assignments for this course) by emailing them to me . Please use the subject of "Honors 270 HW2" (note that the spacing matters) for this assignment (if you use the link above, the subject will be added automatically). Please attach separately the source code to all the programs that you write for this assignment. Each program should be attached as separate file to make it easier for me to read them. When answering the questions themselves feel free to answer directly in the body of your message or attach your answers as a separate file. You may want to copy and paste the questions into your message, but please do not send me html email - I prefer plain text.

  1. Temperature Conversion

    Following the model of the convert.py program, write a program that asks the user for a temperature in Fahrenheit, and then converts that temperature to celsius, kelvin, and rankine. The program should print the result to the screen.

    Try your program with the following input: 0, -40, 32, 212, 106.5, -459.67

    Comment on the results of your program. Does anything different happen integer input compared to floating point numbers?