This is the program I wrote. I cannot figure out what the error is? The compiler says missing function header (old-style formal list). I have no idea what this means.
//Brendan anderson
//sales tax

Code:
#include <iostream>
using namespace std;
int main (); 
{
float total tax;
total tax = $52 * .06;
cout << The total tax on a 52 dollar purschase is <<total tax<< end1;
retturn 0;
}

Code Tags added by kermi3