if (number_of_days < month[i]) { //stoping the loop when number_of_days less than number of days in current month break; } else { number_of_months++; number_of_days = number_of_days - month[i]; } i++; }
cout << "The number of months : " << number_of_months << " "; cout << "The number of days : " << number_of_days << " ";
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments