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
Get step-by-step solutions from verified subject matter experts
