0.4275*temp*pow(velocity,0.16);
cout << “temp is ” << temp << “, velocity is ” << velocity
<< “, windChillIndex is ” << windChillIndex << endl;
if(windChillIndex < INDEX5)
{
Point Class
/* Program chapter3_41 */
/* This program determines if three line segments can form a triangle */
/* A line segment is defined by two points in a plane, P and Q */
/* The distance formula is used to determine the length of a line seg */
/* Created by Jeanine Ingber on 4/12/16. */
#include <iostream>
#include “Point.h”
#include <cmath>
using namespace std;
int main(int argc, const char * argv[]) {
double x, y, a, b, ls1, ls2,ls3;
bool triangle{false};
b = P.getY() – Q.getY();
//Calculate length of line segment defined by P and Q