exercicio 'leap' no percurso Dart concluido

This commit is contained in:
2026-10-23 16:38:34 +01:00
parent 58fccbe27a
commit b7a0c23499
14 changed files with 1375 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
class Leap {
bool leapYear(int year) {
return ((year % 4) == 0 && ((year % 400 == 0) || (year % 100 != 0)));
}
}