const turns a variable declaration into a symbolic constant:
const
const int MONTHS = 12;
This is the modern C++ replacement for #define-based constants.
#define