|I am not sure I understand what the problem is. I have just built and run your code successfully. But why are you doing it that way, what is wrong with: the following?
using namespace std;
int main ()
cout << "Please enter diameter: ";
cin >> Diameter;
Circumference = 3.14f * Diameter;
cout << " Circumference is " << Circumference << endl;