// Program frame promts the user to input values representing the 
// dimensions of a print.  The amount of wood needed for the print
// is calculated and printed on the screen.

// Begin with preprocessor directives and using statements

#include <iostream>
#include <fstream>      // only need this in the later exercise
using namespace std;

// Define the global function main()

int main()
{
	int side;				// vertical dimension in cm
	int top;				// horizontal dimension in cm
	int centimetersOfWood;	// linear distance of wood needed
	
	cout << "Enter the vertical dimension of your print." << endl;
	cout << "The dimension should be in whole centimeters. "
	     << "Press return." << endl;
	cin >> side;
	
	cout << "Enter the horizontal dimension of your print." << endl;
	cout << "The dimension should be in whole centimeters. "
	     << "Press return." << endl;
	cin >> top;
	
	centimetersOfWood = top + top + side + side;
	cout << "You need " << centimetersOfWood
	     << " centimeters of wood." << endl;
	     
	return 0;
}

