Strict Standards: Declaration of Doku_Renderer_metadata::table_open() should be compatible with Doku_Renderer::table_open($maxcols = NULL, $numrows = NULL, $pos = NULL) in /home2/cp-wiki/htdocs/inc/parser/metadata.php on line 480

Strict Standards: Declaration of Doku_Renderer_metadata::table_close() should be compatible with Doku_Renderer::table_close($pos = NULL) in /home2/cp-wiki/htdocs/inc/parser/metadata.php on line 480

Lab 1 In-Lab Problems

  1. Calculate wind chill by inputting the temperature in Fahrenheit and the wind speed in mph.
    • Use the formula to calculate the wind chill.
    • T = 35.74 + 0.6215T - 35.75(V^0.16) + 0.4275T(V^0.16)
  2. Average a user-supplied number of numbers. The user should first be prompted to enter how many numbers to average, and then be prompted for each number. Print the average.
    • Remember to be wary of floating point numbers.
cs190c/lab1.txt · Last modified: 2008/01/11 20:44 by seh
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki