Answer:
if ( givenYear >= 2101 ) {
System.out.print("Distant future");
}
else if (givenYear >= 2001 ){
System.out.print("21st century");
}
else if ( givenYear >= 1901 ) {
System.out.print("20th century");
}
else {
System.out.print("Long ago");
}
Step-by-step explanation: