Question: Intro to C++ Programming Code I entered : #include #include using namespace std; int main() { const int MonthDays[] = {31, 59, 90, 120, 151,

Intro to C++ Programming

Intro to C++ Programming Code I entered : #include #include using namespaceCode I entered :

#include #include using namespace std;

int main() { const int MonthDays[] = {31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365}; const string MonthName[] = {"jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"}; int day; int month=0; while(1) { cout>day; if(day==0) { break; } if(day365) day=day%365; while (MonthDays[month]31) cout

Error Message :

std; int main() { const int MonthDays[] = {31, 59, 90, 120,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!