simple code keeps failing!!!

I know this is child's play as far as code but for some reason it doesn't want to succeed

here it is

# include <iostream>
using namespace std;
int main()
{
double total_sales =.62, annual_sales =4.6, projected_sales;
projected_sales =total_sales*annual_sales;

cout<< "The east coast division will generate:" << endl;
<<projected_sales<< "in revenue this year" << endl;
return 0;
}

What the hell is going on here???
the compiler keeps saying I'm missing a ';' but it's all there!!!
/* no std::cout here */<<projected_sales<< "in revenue this year" << endl;

You shouldn't trust the compiler to exactly tell you what the problem is. An important part of programming is learning to correctly interpret error messages.
did you miss "cout" here
...
cout<< "The east coast division will generate:" << endl;
(cout) <<projected_sales<< "in revenue this year" << endl;
return 0;
}
...
I just caught it I missed a cout<<
stupid of me!!!
Topic archived. No new replies allowed.