Leap year
Log in om je oplossingen te testen.
// 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.");
}
}
}
Je kunt zo vaak indienen als je wenst. Er wordt enkel rekening gehouden met je laatst ingediende oplossing.
Log in om je oplossingen te testen.