Original Post
I do not understand the error I get with this very simple code. #include using namespace std; void main() { int acreSqFeet = 43,560; int totalSqFeet = 389,767; int totalAcres; // define as int to get rid of decimal places totalAcres = totalSqFeet / acreSqFeet; cout << "A tract of land with " << totalSqFeet << " feet is " << totalAcres << "acres\n"; } The error is as follows Compiling... acreage.cpp .\acreage.cpp(5) : error C2059: syntax error : 'constant' .\acreage.cpp(6) : error C2059: syntax error : 'constant' P.S. IS there any special tags I can wrap my code in to make it more readable?