Error!!! Ok so here is my code:
# include <iostream>
using namespace std;
int main()
{
const float fahrenheit = 72.0;
const float celsius = (5.0 / 9.0) * (fahrenheit - 32.0);
cout << celsius << endl;
return (0);
}
When I click build and go I get this error:
command/developer/usr/bin/g++-4.0 failed with exit code 1 duplicate symbol_main in
Any help will be appreciated |