subject
Computers and Technology, 07.06.2020 04:00 hansesk

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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:40
Match the personality traits with their description
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
question
Computers and Technology, 24.06.2019 02:10
Aspeed limit sign that says "night" indicates the legal speed between sunset and sunrise.
Answers: 2
You know the right answer?
Write an if-else statement with multiple branches. If year is 2101 or later, print "Distant future"...
Questions
question
Mathematics, 26.03.2021 19:20
question
Social Studies, 26.03.2021 19:20
question
Physics, 26.03.2021 19:20
question
Mathematics, 26.03.2021 19:20
question
Mathematics, 26.03.2021 19:20
Questions on the website: 13722360