subject

CHALLENGE ACTIVITY
Multi-branch if-else statements: Print century.
Write an if-else statement with mulitiple 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".

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:00
If a client wants to make minor edits, what should he/she use?
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Cómo pongo un tomo de llamada sin pagar?
Answers: 1
You know the right answer?
CHALLENGE ACTIVITY
Multi-branch if-else statements: Print century.
Write an if-else s...
Questions
question
Geography, 10.06.2021 14:00
question
English, 10.06.2021 14:00
question
Mathematics, 10.06.2021 14:00
question
Mathematics, 10.06.2021 14:00
question
Mathematics, 10.06.2021 14:00
Questions on the website: 13722367