Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

zyBooks catalog @ Help/ ACTIVITY341 Multr branch ir eise statement Print century Write an if else statement with multiple branches, If givenYea givenyear is 2000

image text in transcribed
zyBooks catalog @ Help/ ACTIVITY341 Multr branch ir eise statement Print century Write an if else statement with multiple branches, If givenYea 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 r is 2100 or greater, print Distant future (without quotes) Else, if #include 2 using nanespace std; 4 int main( ) s Int givenyear givenvear 1776; w 9Your solution goes here 10 11 return 0 12 Run Feedback

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

Modern Datalog Engines In Databases

Authors: Bas Ketsman ,Paraschos Koutris

1st Edition

1638280428, 978-1638280422

More Books

Students also viewed these Databases questions

Question

2. How are knowledge and skills tested?

Answered: 1 week ago

Question

1.Which are projected Teaching aids in advance learning system?

Answered: 1 week ago

Question

2. Outline the functions of nonverbal communication

Answered: 1 week ago