int main()
{
// char b;
int amendment_number ; // ****
do{
try{
cout << "Which amendment?";
cin >> amendment_number;
// if( b < '1' or b > '8')
if( amendment_number < 1 or amendment_number > 27 ) // ****
{
error("That is not a valid input. Please enter a number betweet 1 and 27.");
}
switch(amendment_number)
{
// case'1':
case 1 : // ****
cout << "Amendment 1: Freedom of speech, the press, to form militias, of religion, and of the right to assemble." << endl;
break;
// case'2':
case 2 : // ****
cout << "Amendment 2: The right to bear arms and form militias." << endl;
break;
// etc.