#include // makes cin, cout available #include // needed to use strings // This program fails. Make sure you know why. string months[] = { "January" , "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" }; int lengths[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; void main() { for (int i = 1; i <= 12; i += 1) cout << months[i] << " has " << lengths[i] << " days.\n"; cout << "The End\n"; }