How to Check Leap Year in Ada - Code Snippet

How to perform 'Check Leap Year' in Ada.

example.adb
-- Task: Check Leap Year
-- Language: Ada

procedure check_leap_year() is begin
    -- Implementation for Check Leap Year
    -- TODO: Implement core logic here
    -- Step 1: Prepare data
    -- Step 2: Process Check Leap Year
    Put_Line("Done");
end;
AdSense Slot