#include <iostream>
#include <cstdlib>
#include "height.h"
using namespace std;

int main()
{
	const height h1(5, 7.5);  //five feet, 7.5 inches
	const height h2(5, 10);   //five feet, 10 inches
	const height h3(70);      //70 inches
				
	h1.print();
	cout << "\n";
	cout << "Difference in inches = " << distance(h2, h1) << "\n";

	cout << "70 inches is ";
	h3.print();
	cout << "\n";

	cout << "70 inches is " << h3.centimeters() << " centimeters.\n";

	return EXIT_SUCCESS;
}