Created
January 17, 2023 11:23
-
-
Save Titory0/bf56f50a371ac49763601bfca8c66242 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string ft_bissextile(int number) | |
{ | |
if(number % 4 ==0 && number % 100 !=0 || (number % 400 ==0)) | |
{ | |
return("Bisextile"); | |
} | |
return("Non Bisextile"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment