I have modified your code into the following.

Code:
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
        int number =0, h=0,width=0, setw=0;
        char symbol = '\0';
        char answer='\0';
loop1 : while(1)
        {
                cout << "Please choose a letter that corresponds to the shape of your choosing \n";
                cout << " A. triangle " << endl;
                cout << " B. upside down triangle " << endl;
                cout << " C. rectangle " << endl;
                cout << " D. plus sign " << endl;
                cout << " E. quit " << endl;
                cin >> symbol;
                cout << " Please choose an odd number 3-9 to calculate width and height of your choosing\n";
                cin >> number;

                if (( number==3) || ( number==5) || (number==7) || ( number==9))
                {
                        switch (symbol)
                        {
                                case 'a':
                                case 'A':
                                        cout << " Thank you, you have choosen triangle and " << number << " for height and width" << endl;
                                        cout << " Please enter a symbol to design your shape. " << endl;
                                        cin >> symbol;
                                        cout << '\n';
                                        for(int i=0; i<number; i++)
                                        {
                                                for(int y=-1; y<i; y++)
                                                        cout << symbol;
                                                cout << "\n";
                                        }
                                        break;

                                        break;
                                default:
                                        cout << " please choose a symbol between A and E" << endl;
                                        while(1)
                                        {
                                                cout << '\n' << " Do you wish to continue: (y/n) " << endl;
                                                cin >> answer;
                                                if(( answer=='y') ||(answer == 'Y'))
                                                {
                                                        goto loop1;
                                                }
                                                else if((answer=='n')||(answer=='N'))
                                                {
                                                        cout << " thank you for your time " << endl;
                                                        return 0;
                                                }
                                                else
                                                {
                                                        cout<<"Invalid.Press y for yes or n for no(y/n)"<<endl;
                                                        continue;
                                                }
                                        }
                        }
                }
                else
                {

                        cout<<"\tPlease choose the number between 3-9"<<endl;
                }

        }

        return 0;
}