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, 23.06.2019 01:00
Let r be a robotic arm with a fixed base and seven links. the last joint of r is a prismatic joint, the other ones are revolute joints. give a set of parameters that determines a placement of r. what is the dimension of the configuration space resulting from your choice of parameters?
Answers: 3
question
Computers and Technology, 23.06.2019 17:20
What is the best assassins creed game?
Answers: 2
question
Computers and Technology, 24.06.2019 00:50
Which player type acts on other players? a. killer b. achiever c. explorer d. socializer
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
Answers: 1
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, 18.03.2021 01:50
question
Mathematics, 18.03.2021 01:50
question
Computers and Technology, 18.03.2021 01:50
question
History, 18.03.2021 01:50
question
Mathematics, 18.03.2021 01:50
question
Business, 18.03.2021 01:50
question
Mathematics, 18.03.2021 01:50
Questions on the website: 13722363