Site hosted by Angelfire.com: Build your free website today!
#include <iostream.h>
#include <fstream.h>
#include <iomanip.h>

#include "proto.h"

int main (void)
{
	//declares out_file, this is the file name that 
	//all the students will write to
	ofstream out_file;
	
	//open output file
	out_file.open("results.txt");

	//call temp function, passing out_file as a parameter
	temperature(out_file);

	//call wind chill function, passing out_file as a parameter
	wind_chill(out_file);

	//call pressure function, passing out_file as a parameter
	pressure(out_file);

	//call dewpoint function, passing out_file as a parameter
	dewpoint(out_file);

	//call wind direction function, passing out_file as a parameter
	wind_direction(out_file);

	return 0;
}