#include #include using namespace std; int main() { int january {31}; int february {28}; int march {31}; int april {30}; int may {31}; int june {30}; int july {31}; int august {31}; int september {30}; int october {31}; int november {30}; int december {31}; int sum {0}; //I wish we could write a loop to add all these values onto the sum: sum += january; //means sum = sum + january sum += february; //means sum = sum + february sum += march; //means sum = sum + march sum += april; //means sum = sum + april sum += may; //means sum = sum + may sum += june; //means sum = sum + june sum += july; //means sum = sum + july sum += august; //means sum = sum + august sum += september; //means sum = sum + september sum += october; //means sum = sum + october sum += november; //means sum = sum + november sum += december; //means sum = sum + december cout << "A (non-leap) year contains " << sum << " days.\n"; return EXIT_SUCCESS; }