Sentinel-Controlled Loop Example
while
(!(month == 2 && day == 31))
{
cin >> month >> day;
.
.
.
}
•
Problem:
month
and
day
aren’t initialized