subject
Engineering, 14.02.2020 02:05 lexibyrd120

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'. Do NOT end with newline. 1 #include 3 int main(void) {4 int givenYear; 6 givenYea r = 1776; 8 Your solution goes here return 0;}

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 12:10
On a average work day more than work place firs are reorted
Answers: 1
question
Engineering, 04.07.2019 18:10
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:20
Most leaks in reciprocating air compressors can be detected and minimized by: (clo4) a)-detecting leakage areas using ultrasonic acoustic detector. b)-tightening joints and connections c)-replacing faulty equipment d)-all of the given options
Answers: 2
question
Engineering, 04.07.2019 19:10
When subject to a steady load (within elastic range) over a long period of time, what is the major difference in material behavoir between steel and plastic?
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
Mathematics, 03.07.2019 08:10
question
Mathematics, 03.07.2019 08:10
Questions on the website: 13722361