Question: Intro to C++ Programming Instruction : Code I entered : #include #include using namespace std; int main() { const int MonthDays[] = {31, 59, 90,
Intro to C++ Programming
Instruction :
Code I entered :
#include
int main() { const int MonthDays[] = {31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365}; const string MonthName[] = {"January","February","March","April","May","June","July","August","September","October","November","December"}; int day; int month=0; cout>day; cout365) day=day%365; while (MonthDays[month] Error I got: Could you fix my code?![using namespace std; int main() { const int MonthDays[] = {31, 59,](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3cb4da084e_32566f3cb4d09167.jpg)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
