According to the verification:
The year must consist of four digits and be at least 1900.
The year must consist of four digits and be GREATER than 1900.
Requirement 3 is incorrect.
Under discussion
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Khurram
10 December 2018, 03:29
can you share your code? make sure that the date is in the following format MMMM DD YYYY
0
Eric Patridge
10 December 2018, 15:31
This works:
public class Solution {
public static void main(String[] args) {
//write your code here
System.out.print ("JANUARY 1 1901");
}
}
This doesn't work:
public class Solution {
public static void main(String[] args) {
//write your code here
System.out.print ("JANUARY 1 1900");
}
}
This doesn't work:
public class Solution {
public static void main(String[] args) {
//write your code here
System.out.print ("DECEMBER 31 1900");
}
}
0
Khurram
10 December 2018, 15:50
so it just wants years greater than 1900
+1