Please send questions to
st10@humboldt.edu .
/*--------------------------------------------------
created by st10 at Fri Oct 15 11:25:57 PDT 2010
--------------------------------------------------*/
#include <iostream>
#include <cmath>
#include "is_safe.h"
using namespace std;
/*--------------------------------------------------
signature: is_safe : int -> bool
purpose: expects a non-fractional temperature in Fahrenheit, and produces
whether it is less than the minimum unsafe temperature
of 100 degrees Fahrenheit
Examples: is_safe(90) == true
is_safe(100) == false
is_safe(133) == false
--------------------------------------------------*/
bool is_safe(int temperature)
{
return temperature < MIN_UNSAFE;
}