exercicio 'leap' no percurso Dart concluido
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class Leap {
|
||||
bool leapYear(int year) {
|
||||
return ((year % 4) == 0 && ((year % 400 == 0) || (year % 100 != 0)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user