/*	English to Spanish Translator program */

#include <iostream.h>
#include "utility.h"

using namespace std;	// October 5, 2001

int main()
{
	cout << "Welcome to the translator program!" << endl;
	int Choice;
	do {
		cout << "Choose to see the Spanish translation" << endl;
		cout << "  0  End program" << endl;
		cout << "  1  Hello" << endl;
		cout << "  2  Good-bye" << endl;
		cout << "  3  Tomorrow" << endl;
		cout << "Enter your choice: ";
		Choice = GetInt(0, 3);

		if (Choice == 1)
			cout << "Buenos dias" << endl;
		else if (Choice == 2)
			cout << "Adios" << endl;
		else if (Choice == 3)
			cout << "Manana" << endl;
		else
			cout << "Gracias!" << endl;
		Pause();
	} while (Choice != 0);
	cout << "Thanks for using the translator!" << endl;
	return(0);
}
