7. Check Leap Year
Lesson 8 of 31 in Coddy's 30 Days of Logic Building in C++ course.
Challenge
EasyWrite a function to check if a given year is a leap year.
- Input: 2024
- Output: true
Try it yourself
bool isLeapYear(int year) {
// Write code here
}All lessons in 30 Days of Logic Building in C++
1Introduction
Introduction