Ask a New Question

Question

You work for a company that requires you to compute the average temperature for 8 A.M. to 6 P.PM. each day. You are to computer program to compute the average temperature.
13 years ago

Answers

Steve
use Util::List;
print "Enter hourly temperatures: ";
$_ = <STDIN>;
@t = split;
$avg = sum(@t)/@t;
--------------------------
add error checking if you wish, to watch for invalid format, or an empty list.
13 years ago

Related Questions

he company you work for and the position you hold can be described as what? (1 point) Responses... You work for a company that manufactures food products. A new "wonder food" contains only carbon, ox... The company you work for and the position you hold can be described as what? (1 point) field job... In his work for a new company, Byron found a flower material that he could use to manufacture dresse... You work for a company that manufactures food products. A new "wonder food" contains only carbon, ox... The company you work for and the position you hold can be described as what? field field... You work for a company that offers their services through the Internet. Therefore, it is critical th... The company you work for and the position you hold can be described as what? (1 point) field • jo...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use