#include<iostream>
using namespace std;
{
        int main()

        //declare variables
        char total amount = ' ';
        int rate = 0;
        double registrants = 0;

        //determine if registrant
        cout << "Are you a seminar registrant: (Y/N)";
        cin >> registrant;
        registrant = toupper(registrant);

        if (registrant == 'R')
        {
            //determine rate
            cout << "what is the rate? ";
            cin>> rate;
            if( rate > 80)
                rate = 85;
            else 
                fee = 70;
            //endif
        }
        else 
            fee = 75;
        //endif

        //display
        cout << fixed << set precision(2);
        cout << invalid error << rate << endl;

        system("pause");
        return 0;
}

you could start by wrapping it and sate your problem...so others might help you
and LOOK at where you placed your bracket(first)
should be below main() right?

and a whole lot of errors along the way..

Good Luck

//no blank is allowed in variable name
char totalamount = ' '; 
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.