CIS 2279 Homework Assignment #06

Due Mon Oct 10, 2016

    Create a perl script named lab06.pl. The script must perform the following:
    1. Create a subroutine that takes the temperature in degrees Fahrenheit as an argument and returns it in degrees Celcius.
    2. Create a subroutine that takes the temperature in degrees Celcius as an argument and returns it in degrees Kelvin.
    3. Create a subroutine that takes the temperature in degrees Celcius as an argument and returns it in degrees Fahrenheit.
    4. Create a subroutine that takes the temperature in degrees Fahrenheit and the wind speed in mph as arguments and returns the windchill in degrees Fahrenheit.
    5. Asks the user to input a temperature in degrees Fahrenheit and return it in all three scales using the subroutines you created.
    6. Asks the user to input the wind speed in mph. Calculate the wind chill using the subroutine you created and print the windchill in all three temperature scales using the conversion subroutines you created.
    7. Print the values to the terminal with some descriptive text.
    Other information:
    solution

    last updated: 29 Sep 2016 17:47