Electrical and Computer Engineering
19 of 48
UAH
CPE 112
Program Example
•//************************************************************
•// FreezeBoil program
•// This program computes the midpoint between
•// the freezing and boiling points of water
•//************************************************************
•
•#include <iostream>
•
•using namespace std;
•
•const float FREEZE_PT = 32.0;   // Freezing point of water
•const float BOIL_PT = 212.0;    // Boiling point of water
•