// const can also be used to indicate an accessor member function. #include using namespace std; // const implies static (private, in Java terms) const int DAYS_PER_WEEK = 7; const double KG_PER_LB = 0.45359237; const int BOARD_SIZE = 8; int chessboard[BOARD_SIZE][BOARD_SIZE]; int main() { cout << "There are " << 365/DAYS_PER_WEEK << " weeks in a year.\n"; cout << "A 180lb gopher weighs " << 180*KG_PER_LB << "kg.\n"; return 0; }