C++ Program: [Switch] Leap year

By: Prof. Dr. Fazal Rehman | Last updated: July 25, 2024

Write a C++ program to check that year is leap year or not?

Possible Outputs

Output #1 Enter a year: 2000 2000 is a Leap Year. Output #2 Enter a year: 1900 1900 is not a Leap Year. Output #3 Enter a year: 2024 2024 is a Leap Year. Output #4 Enter a year: 2023 2023 is not a Leap Year.
All Copyrights Reserved 2025 Reserved by T4Tutorials