Leap year

Sign in to test your solution.
// Leap year program using System; class Submission { // ------------------------- // Subprograms // ------------------------- static bool is_leap_year(int year) { } // ------------------------- // Main program // ------------------------- public static void Main(string[] args) { if (is_leap_year(year)) { Console.WriteLine($"{year} is a leap year."); } } }
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.