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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, demarcuswiseman
Calculate the bore of a cylinder that has a stroke of 18 inches and an extension time of 6 seconds at a flow rate of 4 gal/min.
Answers: 3
image
Engineering, 04.07.2019 18:20, rhussein6452
Wiy doeres rere okhn a pump whon working betwon the same pressure range?
Answers: 2
image
Engineering, 04.07.2019 19:10, pjgolden04
How to increase the thermal officiency of an ideal simple rankino cycle? among these methods, which one is the best and why?
Answers: 2
image
Engineering, 04.07.2019 19:20, horsedoggal1234
Consider airflow over a flat plate of length l = 1.5 m under conditions for which transition occurs at le = 0.9 m based on the critical reynolds number, re, e = 5 x 10. evaluating the thermophysical properties of air at 400 k, determine the air velocity. (hint: use the tables to find the properties of air)
Answers: 3
You know the right answer?
Write an if-else statement with multiple branches. If givenYear is 2101 or greater, print "Distant f...

Questions in other subjects: