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 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
question
Engineering, 04.07.2019 18:10
During a steady flow process, the change of energy with respect to time is zero. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
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, 24.01.2020 03:31
question
English, 24.01.2020 03:31
question
History, 24.01.2020 03:31
Questions on the website: 13722360