Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

| 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

image text in transcribed

| 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

2. Identify issues/causes for the apparent conflict.

Answered: 1 week ago