Question: Solve Write an if-else statement with multiple branches. If year is 2101 or later, print Distant future (without quotes). Otherwise, if year is 2001 or
Solve
Write an if-else statement with multiple branches. If year is 2101 or later, print "Distant future" (without quotes). Otherwise, if year is 2001 or greater, print "21st century". Otherwise, if year is 1901 or greater, print "20th century". Else (1900 or earlier), print "Long ago'. Sample output with input: 1776 Long ago Learn how our autograder works 1 test Your solution goes here """ passec 1 2 3 een A All test: passecStep by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
