#include #include //for setw (stands for "set width") #include #include //for class string (i.e., data type string) using namespace std; //The first time around the for loop, a[i] is "January". //The second time around the for loop, a[i] is "February". Etc. // //Output i+1 because humans like to start counting at 1, not at 0. //i runs from 0 to 11 inclusive, so i+1 will run from 1 to 12 inclusive. int main() { string a[] { //an array of 12 strings "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }; int n {size(a)}; //the number of elements in the array for (int i {0}; i < n; ++i) { //i runs from 0 to 11 inclusive. cout << setw(2) << i+1 << " " << a[i] << "\n"; } return EXIT_SUCCESS; }