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 24

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 24

Warning: Cannot modify header information - headers already sent by (output started at /home2/cp-wiki/htdocs/inc/parser/metadata.php:24) in /home2/cp-wiki/htdocs/inc/actions.php on line 581

Warning: Cannot modify header information - headers already sent by (output started at /home2/cp-wiki/htdocs/inc/parser/metadata.php:24) in /home2/cp-wiki/htdocs/inc/actions.php on line 581
cs190c:lab1

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.