Declare an int constant, MonthsInYear, whose value is 12.
LANGUAGE: C++
CHALLENGE:
Declare an int constant, MonthsInYear, whose value is 12.
SOLUTION:
const int MonthsInYear = 12;
Declare an int constant, MonthsInYear, whose value is 12.
const int MonthsInYear = 12;