subject

Write an if-else statement with multiple branches. if givenyear is 2101 or greater, print "distant future" (without quotes). else, if givenyear is 2001 or greater (2001-2100), print "21st century". else, if givenyear is 1901 or greater (1901-2000), print "20th century". else (1900 or earlier), print "long ago".

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
What elements related to the release and success of the nes console do you see in modern console releases? what elements are no longer relevant to modern console gaming?
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
question
Computers and Technology, 24.06.2019 00:20
Describe a data structures that supports the stack push and pop operations and a third operation findmin, which returns the smallest element in the data structure, all in o(1) worst-case time.
Answers: 2
You know the right answer?
Write an if-else statement with multiple branches. if givenyear is 2101 or greater, print "distant f...
Questions
question
Chemistry, 04.03.2021 02:20
question
Mathematics, 04.03.2021 02:20
question
Mathematics, 04.03.2021 02:20
question
Biology, 04.03.2021 02:20
question
World Languages, 04.03.2021 02:20
question
Mathematics, 04.03.2021 02:20
Questions on the website: 13722363