Question: c++ program A leap year is divisible by 400, or it is divisible by 4 but not by 100. Write the expression of the boolean

c++ program

A leap year is divisible by 400, or it is divisible by 4 but not by 100. Write the expression of the boolean isLeap:

int year; bool isLeap; cout << "Enter year " cin >> year; isLeap = ....

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!