Question: | Secure I https://le zybook/HOSTOSMAT215KoffiFall2017/chapter/3/section/3 zyBooks Library > MAT 215 home-3 3 Multiple if-else branches @ Help/ FAQ djamel bou eedback? ACTIVITY3 3.3.3: Multiple branch

 | Secure I https://le zybook/HOSTOSMAT215KoffiFall2017/chapter/3/section/3 zyBooks Library > MAT 215 home-3

| Secure I https://le zybook/HOSTOSMAT215KoffiFall2017/chapter/3/section/3 zyBooks Library > MAT 215 home-3 3 Multiple if-else branches @ Help/ FAQ djamel bou eedback? ACTIVITY3 3.3.3: Multiple branch If-else statement: Print century Write an if-else statement with multiple branches If givenYear is 2100 or greater, print 'Distant future (without quotes). Else, if givenYear is 2000 or greater (2000-2099), print "21st century". Else, if givenYear is 1900 or greater (1900-1999), print '20th century Else (1899 or earlier), print "Long ago Do NOT end with newline 1 #include iostream> 2 using nanespace std; 4 int main) givenYear 1776 9 18 Your solution goes here return e

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!