Computers and Technology

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".

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:50, savagesquid4807
Before you enter an intersection on a green light make sure
Answers: 2
image
Computers and Technology, 22.06.2019 18:10, o10922025
Assume that to_the_power_of is a function that expects two int parameters and returns the value of the first parameter raised to the power of the second parameter. write a statement that calls to_the_power_of to compute the value of cube_side raised to the power of 3 and that associates this value with cube_volume.
Answers: 1
image
Computers and Technology, 22.06.2019 19:20, manny2085
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, taytay1828
What are the 12 colors of the spectrum called?
Answers: 1
Do you know the correct answer?
Write an if-else statement with multiple branches. if givenyear is 2101 or greater, print "distant f...

Questions in other subjects:

Konu
Mathematics, 24.04.2021 06:00
Konu
Mathematics, 24.04.2021 06:00
Konu
Mathematics, 24.04.2021 06:00