Cognizant Interview Question

They told to write a program to find leap yr or not Create a table in sql and print the output